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


Compaign : 78052
\compaign_type : ATans per 30.02395 
ans sms 55004
dnd sms 0

require answer perrequire answer per : 16515

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='315', `user_busy_sms`='15504', `user_congestion_sms`='0', `user_failed_sms`='37103', `user_hangup_sms`='0', `user_no_answer_sms`='2082', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78052 LIMIT 1 


Time Diff : 0.228

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


Compaign : 78053
\compaign_type : ATans per 25.55153 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14054

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='493', `user_busy_sms`='20254', `user_congestion_sms`='0', `user_failed_sms`='31500', `user_hangup_sms`='0', `user_no_answer_sms`='2754', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78053 LIMIT 1 


Time Diff : 0.27

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


Compaign : 78054
\compaign_type : ATans per 30.98602 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17043

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='474', `user_busy_sms`='20547', `user_congestion_sms`='0', `user_failed_sms`='31271', `user_hangup_sms`='0', `user_no_answer_sms`='2708', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78054 LIMIT 1 


Time Diff : 0.261

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


Compaign : 78546
\compaign_type : ATans per 25.55327 
ans sms 48193
dnd sms 0

require answer perrequire answer per : 12315

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='56', `user_busy_sms`='6962', `user_congestion_sms`='0', `user_failed_sms`='40353', `user_hangup_sms`='0', `user_no_answer_sms`='822', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78546 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>'1764181862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764181921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764181981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764182941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764183961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764184982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764185946'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764186962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764187982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764188942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764189961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764190982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191104'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764191941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764192962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193145'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764193982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194525'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194706'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764194942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764195961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764196982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764197941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764198961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764199981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764200822'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 12
    [user_busy_sms] => 12
    [28] => 20
    [user_congestion_sms] => 20
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.72906 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 9.445

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


Compaign : 78336
\compaign_type : Rans per 30.80216 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


 Blank User Record End

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


Time Diff : 9.965

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


Compaign : 78336
\compaign_type : Rans per 29.16802 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.039

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


Compaign : 78336
\compaign_type : Rans per 30.49711 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.92535 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.33898 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.02958 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.60191 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.77503 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.36971 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.89751 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.36941 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.03824 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.43293 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.25593 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.52908 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.29236 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.32468 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.0061 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.64583 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.28362 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.46872 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.83059 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.23019 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.66147 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.88284 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.90609 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.97031 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.68425 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.51285 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.28595 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.61877 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.51224 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.71958 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.54079 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.81866 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.68546 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.12641 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.79227 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.91038 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.65778 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.80712 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.90037 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.4554 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.41359 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.34238 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.99951 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.70178 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.00429 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.29338 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.72007 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.8368 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.13908 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.83124 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.39832 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.63174 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.96083 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.17279 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.54133 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.05163 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.29502 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.34791 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.24963 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.46722 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.75379 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.50309 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.03288 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.09029 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.75197 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.34164 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.7984 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.96994 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.02211 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.70936 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.5528 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.91004 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.32929 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.85701 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.68182 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.8581 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.13664 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.25614 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.19131 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.46884 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.99684 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.53099 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.54726 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.05775 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.81413 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.3929 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.54267 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.84227 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.84558 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.92518 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.59087 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.14838 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.96129 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.04006 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.32464 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.83658 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.17849 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.16057 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.77708 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.67499 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.11948 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.6795 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.03713 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.75469 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.91791 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.62098 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.39705 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.16356 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.45339 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.57493 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.25066 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.79376 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.47404 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.41264 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.3369 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.70987 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.65866 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.08529 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.63202 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.34854 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.45336 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.39426 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.358 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.00889 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.46186 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.18354 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.05804 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.70249 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.28916 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.75155 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.8924 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.673 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.78158 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.30278 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.31223 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.48338 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.91272 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.93782 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.92892 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.7484 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.09551 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.21134 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.32689 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.36404 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.4869 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.42195 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.93882 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.24156 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.43399 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.71709 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.36358 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.92728 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.98005 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.71077 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.94023 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.35558 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.05095 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.15111 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.47705 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.38982 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.94438 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.91511 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.45913 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.33038 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.81251 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.69799 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.09445 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.90321 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.88491 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.79929 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.30216 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.49273 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.2611 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.09531 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.45538 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.00207 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.80159 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.04105 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.54839 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.94274 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.20635 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.42454 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.70582 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.11421 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.29765 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.71007 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.32283 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.44173 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.48817 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.04337 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.59286 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.2222 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.00584 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.87643 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.10988 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.87513 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.43193 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.22885 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.99227 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.02166 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.5473 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.82144 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.1087 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.51925 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.41033 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.78317 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.75184 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.87222 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.61581 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.13954 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.97481 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 25.60867 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.69162 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.39959 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 28.54609 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.73022 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 27.34347 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 30.84602 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 29.9322 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78336
\compaign_type : Rans per 26.0522 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 28.34348 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.40736 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 26.36597 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 27.43674 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 28.38556 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.91973 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 28.45302 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 27.08888 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 29.4015 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 30.76268 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 28.5183 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 27.28129 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 28.68431 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 26.08053 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 26.55221 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.30311 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 25.18736 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 29.78579 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 25.12429 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 25.57875 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.09178 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.20354 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.21494 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.18414 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 25.37783 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 28.91783 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 29.32485 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.71744 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.01858 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 28.66897 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.48032 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 27.64493 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.10762 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.49175 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 28.63715 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.89086 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.64846 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 30.03242 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 27.66746 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 28.76337 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.05614 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.25636 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78566
\compaign_type : ATans per 30.87829 
ans sms 3718
dnd sms 0

require answer perrequire answer per : 1149

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


Time Diff : 0.581

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


Compaign : 78567
\compaign_type : ATans per 29.78335 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.25954 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.40316 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.41704 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78566
\compaign_type : ATans per 26.09793 
ans sms 3718
dnd sms 0

require answer perrequire answer per : 971

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


Time Diff : 0.581

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


Compaign : 78567
\compaign_type : ATans per 30.32296 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 25.7751 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.91333 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 26.29383 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.58353 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.73789 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.77191 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.83724 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 27.63326 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 29.11487 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 28.86694 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 28.34589 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 25.96307 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 27.96374 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 29.28691 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 28.97147 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 26.61369 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 28.00143 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.84272 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.14719 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.32282 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.45184 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 29.85505 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 26.66363 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 29.42034 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.76518 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 28.2583 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.06075 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78566
\compaign_type : ATans per 25.24406 
ans sms 5808
dnd sms 0

require answer perrequire answer per : 1467

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


Time Diff : 0.372

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


Compaign : 78567
\compaign_type : ATans per 27.00166 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 29.34484 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 25.07168 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 30.74424 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 25.48044 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 28.32799 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 25.94591 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.78887 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 27.47866 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 28.58153 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.87755 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 29.62587 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 27.64008 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 28.26643 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 29.87257 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 30.73443 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 27.07068 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.85194 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.53338 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 26.55771 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 25.50229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.1561 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.90777 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.23028 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 29.1083 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.51619 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 27.28988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 26.41512 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 28.62799 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.32895 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 30.51701 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 27.71489 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 29.85699 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.10531 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 30.98848 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 30.03687 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 25.77683 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 25.21863 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 28.39522 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 29.08214 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.03559 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 30.20466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.07409 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 25.29467 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 29.9538 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78568
\compaign_type : ATans per 26.67057 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78569
\compaign_type : ATans per 26.61472 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

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


Compaign : 78336
\compaign_type : Rans per 29.95936 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

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


Time Diff : 10.044

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


Compaign : 78567
\compaign_type : ATans per 30.52948 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

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


 Blank User Record End

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


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.61557 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475081
    [last_credit_update_time] => 1764475081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.78145 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.39628 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475263
    [last_credit_update_time] => 1764475263
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.19793 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.63755 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.22718 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.64322 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475263
    [last_credit_update_time] => 1764475263
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.11089 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.41582 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.10543 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.84333 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475263
    [last_credit_update_time] => 1764475263
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.87834 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.86736 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.82466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.41515 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475501
    [last_credit_update_time] => 1764475501
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.23155 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.71082 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764475322
    [last_credit_update_time] => 1764475322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.10876 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.0359 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475501
    [last_credit_update_time] => 1764475501
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.9517 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.91327 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.56884 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.28713 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475501
    [last_credit_update_time] => 1764475501
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.16011 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.18332 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.6605 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.18769 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475501
    [last_credit_update_time] => 1764475501
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.74186 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.53365 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475561
    [last_credit_update_time] => 1764475561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.17768 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.44292 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.92716 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.8373 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.1839 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.34462 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.35024 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.7909 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.89355 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.69148 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.40282 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.7104 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.75961 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.35204 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.85609 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.32804 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475742
    [last_credit_update_time] => 1764475742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.35913 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.47156 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.45757 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.48052 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.4733 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216902'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.7014 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.56682 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.27761 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.08487 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764216961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.54076 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.2832 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.73896 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.25353 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.07396 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.04581 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.66699 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764475981
    [last_credit_update_time] => 1764475981
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.69981 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.66969 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.66229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.89634 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.03713 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.18821 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.18504 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.0267 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.17784 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.62232 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.35024 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.72937 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476221
    [last_credit_update_time] => 1764476221
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.56211 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.56406 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.18475 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.14917 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.0931 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.61065 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.78545 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.55176 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.30386 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217382'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.07052 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.59414 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.39605 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.85177 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.00798 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78566
    [compaign_id] => 78566
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 15113
    [total_sms] => 15113
    [11] => 15113
    [sent_sms] => 15113
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 15113
    [failed_sms] => 15113
    [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] => 15113
    [user_failed_sms] => 15113
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78566
\compaign_type : ATans per 25.77578 
ans sms 15113
dnd sms 0

require answer perrequire answer per : 3896

user answer per : 0
below is the redis data 3896 UPDATE voice_compaign_detail_78566 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3896 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='15113', `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`=78566 LIMIT 1 


Time Diff : 0.143

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.0083 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.11036 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476402
    [last_credit_update_time] => 1764476402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.34328 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.29111 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.09239 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.10942 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476642
    [last_credit_update_time] => 1764476642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.33687 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.82761 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.98659 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.47294 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476642
    [last_credit_update_time] => 1764476642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.6521 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217621'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.05997 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.6426 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.20361 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476642
    [last_credit_update_time] => 1764476642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.24112 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.14474 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.23723 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476641
    [last_credit_update_time] => 1764476641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.21446 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476642
    [last_credit_update_time] => 1764476642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.36539 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.7188 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476882
    [last_credit_update_time] => 1764476882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.62826 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.38536 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.73781 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217801'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.16418 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476882
    [last_credit_update_time] => 1764476882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.77657 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.11072 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.00037 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.48499 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476882
    [last_credit_update_time] => 1764476882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.89718 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.91303 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.69609 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.64794 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476882
    [last_credit_update_time] => 1764476882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.91864 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.02735 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764476883
    [last_credit_update_time] => 1764476883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.48101 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764217982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.98086 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.43873 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.37391 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.95802 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.981 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.57037 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.85067 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.1354 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.34128 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.44305 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.45343 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.72317 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218161'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.95958 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.43061 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.47844 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764477122
    [last_credit_update_time] => 1764477122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.17853 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.52037 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.68678 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.24002 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.539 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.90559 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.63873 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.75795 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.06019 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.15225 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.43254 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.14488 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.7664 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.6452 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78566
    [compaign_id] => 78566
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 19133
    [total_sms] => 19133
    [11] => 19133
    [sent_sms] => 19133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 944
    [busy_sms] => 944
    [15] => 0
    [congestion_sms] => 0
    [16] => 18043
    [failed_sms] => 18043
    [17] => 0
    [hangup_sms] => 0
    [18] => 137
    [no_answer_sms] => 137
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 944
    [user_busy_sms] => 944
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18043
    [user_failed_sms] => 18043
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 137
    [user_no_answer_sms] => 137
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78566
\compaign_type : ATans per 28.04817 
ans sms 19133
dnd sms 0

require answer perrequire answer per : 5367

user answer per : 9
below is the redis data 5358 UPDATE voice_compaign_detail_78566 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5358 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='9', `user_busy_sms`='944', `user_congestion_sms`='0', `user_failed_sms`='18043', `user_hangup_sms`='0', `user_no_answer_sms`='137', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78566 LIMIT 1 


Time Diff : 0.03

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.81087 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.03784 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477362
    [last_credit_update_time] => 1764477362
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.28486 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.04397 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.98956 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.10143 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.97445 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.07541 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.95112 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.23119 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.18938 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218582'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.29028 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.72033 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.36568 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.73591 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.94384 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.28177 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.11182 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477602
    [last_credit_update_time] => 1764477602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.62553 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.91794 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.06876 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.0932 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.8975 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218762'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.70882 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.65315 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.11126 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.253 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.92717 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.69245 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.8598 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.85379 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.06446 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.48022 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.2844 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764477841
    [last_credit_update_time] => 1764477841
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.151 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764218942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.87467 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.19557 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.87293 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.53618 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.78727 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.40161 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.34661 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.02031 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.03019 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.09492 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.92074 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478081
    [last_credit_update_time] => 1764478081
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.29954 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78577
    [compaign_id] => 78577
    [1] => u179
    [user_id] => u179
    [2] => 66191,
    [group_ids] => 66191,
    [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] => 1764477932
    [start_date] => 1764477932
    [9] => 0
    [end_date] => 0
    [10] => 73
    [total_sms] => 73
    [11] => 73
    [sent_sms] => 73
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 15
    [busy_sms] => 15
    [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] => 14
    [dnd_sms] => 14
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 15
    [user_busy_sms] => 15
    [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] => 14
    [user_dnd_sms] => 14
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1764477931
    [create_date] => 1764477931
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764477940,"compaign_read_start_time":1764477940,"compaign_read_complete_time":1764477941,"compaign_send_start_time":1764477962,"compaign_send_complete_time":1764477963}
    [action_time] => {"api_allot_time":1764477940,"compaign_read_start_time":1764477940,"compaign_read_complete_time":1764477941,"compaign_send_start_time":1764477962,"compaign_send_complete_time":1764477963}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78577_30112025_101537AM_994
    [common_name] => u179_78577_30112025_101537AM_994
    [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_66191
    [temp_group_table] => contacts_temp_group_66191
    [61] => 0
    [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] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764478203
    [reschedule_last_check_time] => 1764478203
    [75] => 29274
    [reschedule_ids] => 29274
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478202
    [last_credit_update_time] => 1764478202
    [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":1764478800,"2":1764479700}
    [rt_time] => {"1":1764478800,"2":1764479700}
    [104] => 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 : 78577
\compaign_type : Rans per 28.12652 
ans sms 73
dnd sms 14

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`='15', `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`='14' WHERE `compaign_id`=78577 LIMIT 1 


Time Diff : 3.356

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.14287 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78566
    [compaign_id] => 78566
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 22341
    [total_sms] => 22341
    [11] => 22341
    [sent_sms] => 22341
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 2141
    [busy_sms] => 2141
    [15] => 0
    [congestion_sms] => 0
    [16] => 19906
    [failed_sms] => 19906
    [17] => 0
    [hangup_sms] => 0
    [18] => 277
    [no_answer_sms] => 277
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 2141
    [user_busy_sms] => 2141
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19906
    [user_failed_sms] => 19906
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 277
    [user_no_answer_sms] => 277
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78566
\compaign_type : ATans per 30.18391 
ans sms 22341
dnd sms 0

require answer perrequire answer per : 6744

user answer per : 17
below is the redis data 6727 UPDATE voice_compaign_detail_78566 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6727 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='2141', `user_congestion_sms`='0', `user_failed_sms`='19906', `user_hangup_sms`='0', `user_no_answer_sms`='277', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78566 LIMIT 1 


Time Diff : 0.058

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.36513 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.11991 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.90566 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78578
    [compaign_id] => 78578
    [1] => sr170
    [user_id] => sr170
    [2] => 66192,
    [group_ids] => 66192,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764477974
    [start_date] => 1764477974
    [9] => 0
    [end_date] => 0
    [10] => 76
    [total_sms] => 76
    [11] => 76
    [sent_sms] => 76
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 14
    [user_no_answer_sms] => 14
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764477974
    [create_date] => 1764477974
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764477981,"compaign_read_start_time":1764477983,"compaign_read_complete_time":1764477983,"compaign_send_start_time":1764478021,"compaign_send_complete_time":1764478028}
    [action_time] => {"api_allot_time":1764477981,"compaign_read_start_time":1764477983,"compaign_read_complete_time":1764477983,"compaign_send_start_time":1764478021,"compaign_send_complete_time":1764478028}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78578_30112025_101620AM_405
    [common_name] => sr170_78578_30112025_101620AM_405
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66192
    [temp_group_table] => contacts_temp_group_66192
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764478203
    [reschedule_last_check_time] => 1764478203
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78578
\compaign_type : Rans per 30.4767 
ans sms 76
dnd sms 0

require answer perrequire answer per : 24

user answer per : 14
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_78578 SET user_report='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_78578 SET user_report='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`='24', `user_busy_sms`='16', `user_congestion_sms`='0', `user_failed_sms`='21', `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`=78578 LIMIT 1 


Time Diff : 3.224

Array
(
    [0] => 78579
    [compaign_id] => 78579
    [1] => sr170
    [user_id] => sr170
    [2] => 66193,
    [group_ids] => 66193,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764477992
    [start_date] => 1764477992
    [9] => 0
    [end_date] => 0
    [10] => 76
    [total_sms] => 76
    [11] => 76
    [sent_sms] => 76
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 18
    [user_no_answer_sms] => 18
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764477992
    [create_date] => 1764477992
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764477999,"compaign_read_start_time":1764478001,"compaign_read_complete_time":1764478001,"compaign_send_start_time":1764478021,"compaign_send_complete_time":1764478028}
    [action_time] => {"api_allot_time":1764477999,"compaign_read_start_time":1764478001,"compaign_read_complete_time":1764478001,"compaign_send_start_time":1764478021,"compaign_send_complete_time":1764478028}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78579_30112025_101638AM_584
    [common_name] => sr170_78579_30112025_101638AM_584
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66193
    [temp_group_table] => contacts_temp_group_66193
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764478203
    [reschedule_last_check_time] => 1764478203
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78579
\compaign_type : Rans per 30.55694 
ans sms 76
dnd sms 0

require answer perrequire answer per : 24

user answer per : 13
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_78579 SET user_report='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_78579 SET user_report='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`='24', `user_busy_sms`='13', `user_congestion_sms`='0', `user_failed_sms`='18', `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`=78579 LIMIT 1 


Time Diff : 3.224

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.14989 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78566
    [compaign_id] => 78566
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 22341
    [total_sms] => 22341
    [11] => 22341
    [sent_sms] => 22341
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 2141
    [busy_sms] => 2141
    [15] => 0
    [congestion_sms] => 0
    [16] => 19906
    [failed_sms] => 19906
    [17] => 0
    [hangup_sms] => 0
    [18] => 277
    [no_answer_sms] => 277
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 2141
    [user_busy_sms] => 2141
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19906
    [user_failed_sms] => 19906
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 277
    [user_no_answer_sms] => 277
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78566
\compaign_type : ATans per 29.19463 
ans sms 22341
dnd sms 0

require answer perrequire answer per : 6523

user answer per : 17
below is the redis data 6506 UPDATE voice_compaign_detail_78566 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6506 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='2141', `user_congestion_sms`='0', `user_failed_sms`='19906', `user_hangup_sms`='0', `user_no_answer_sms`='277', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78566 LIMIT 1 


Time Diff : 0.06

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.28149 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.74208 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.31263 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.18607 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.22765 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.42408 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.10002 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.79711 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.4219 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.4466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.93407 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.18598 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.57354 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.17921 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478321
    [last_credit_update_time] => 1764478321
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.50213 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.5692 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.1513 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.6388 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.19621 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.17042 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.7397 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.10827 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.86558 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.78148 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.51499 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.3607 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.26508 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.10138 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.11139 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.97827 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764478562
    [last_credit_update_time] => 1764478562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.27602 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.35096 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.74515 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.01206 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478803
    [last_credit_update_time] => 1764478803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.88063 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.0369 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.42838 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.66858 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478803
    [last_credit_update_time] => 1764478803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.55273 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.84462 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.14861 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.98216 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478803
    [last_credit_update_time] => 1764478803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.94527 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.642 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.77584 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478802
    [last_credit_update_time] => 1764478802
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.70741 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764478803
    [last_credit_update_time] => 1764478803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.21103 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78582
    [compaign_id] => 78582
    [1] => sr170
    [user_id] => sr170
    [2] => 66196,
    [group_ids] => 66196,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764478622
    [start_date] => 1764478622
    [9] => 0
    [end_date] => 0
    [10] => 52
    [total_sms] => 52
    [11] => 52
    [sent_sms] => 52
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [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] => 3
    [user_answered_sms] => 3
    [27] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [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] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764478622
    [create_date] => 1764478622
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478630,"compaign_read_start_time":1764478630,"compaign_read_complete_time":1764478630,"compaign_send_start_time":1764478682,"compaign_send_complete_time":1764478683}
    [action_time] => {"api_allot_time":1764478630,"compaign_read_start_time":1764478630,"compaign_read_complete_time":1764478630,"compaign_send_start_time":1764478682,"compaign_send_complete_time":1764478683}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78582_30112025_102707AM_841
    [common_name] => sr170_78582_30112025_102707AM_841
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66196
    [temp_group_table] => contacts_temp_group_66196
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764478982
    [last_credit_update_time] => 1764478982
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78582
\compaign_type : Rans per 30.48087 
ans sms 52
dnd sms 0

require answer perrequire answer per : 16

user answer per : 3
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_78582 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78582 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='16', `user_busy_sms`='10', `user_congestion_sms`='0', `user_failed_sms`='16', `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`=78582 LIMIT 1 


Time Diff : 5.846

Array
(
    [0] => 78583
    [compaign_id] => 78583
    [1] => sr170
    [user_id] => sr170
    [2] => 66195,
    [group_ids] => 66195,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764478622
    [start_date] => 1764478622
    [9] => 0
    [end_date] => 0
    [10] => 52
    [total_sms] => 52
    [11] => 52
    [sent_sms] => 52
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [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] => 4
    [user_answered_sms] => 4
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 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] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764478622
    [create_date] => 1764478622
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478629,"compaign_read_start_time":1764478633,"compaign_read_complete_time":1764478633,"compaign_send_start_time":1764478682,"compaign_send_complete_time":1764478682}
    [action_time] => {"api_allot_time":1764478629,"compaign_read_start_time":1764478633,"compaign_read_complete_time":1764478633,"compaign_send_start_time":1764478682,"compaign_send_complete_time":1764478682}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78583_30112025_102707AM_471
    [common_name] => sr170_78583_30112025_102707AM_471
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66195
    [temp_group_table] => contacts_temp_group_66195
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764478982
    [last_credit_update_time] => 1764478982
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78583
\compaign_type : Rans per 28.26565 
ans sms 52
dnd sms 0

require answer perrequire answer per : 15

user answer per : 4
below is the redis data 11 /n/r
only no answer and busy will be convert, total number require 11 /n/r
UPDATE voice_compaign_detail_78583 SET user_report='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_78583 SET user_report='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`='15', `user_busy_sms`='9', `user_congestion_sms`='0', `user_failed_sms`='19', `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`=78583 LIMIT 1 


Time Diff : 5.846

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.82689 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.2948 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.25592 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.00322 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764219961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.07867 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.97093 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.85686 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.26109 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 77921
    [compaign_id] => 77921
    [1] => r137
    [user_id] => r137
    [2] => 65637,
    [group_ids] => 65637,
    [3] => 
    [sender_id] => 
    [4] => Daund 2 Edited Final.mp3
    [filename] => Daund 2 Edited Final.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764478800
    [start_date] => 1764478800
    [9] => 0
    [end_date] => 0
    [10] => 2359
    [total_sms] => 2359
    [11] => 2359
    [sent_sms] => 2359
    [12] => 0
    [duplicate_sms] => 0
    [13] => 161
    [answered_sms] => 161
    [14] => 172
    [busy_sms] => 172
    [15] => 0
    [congestion_sms] => 0
    [16] => 550
    [failed_sms] => 550
    [17] => 0
    [hangup_sms] => 0
    [18] => 282
    [no_answer_sms] => 282
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1194
    [cutting_sms] => 1194
    [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] => 172
    [user_busy_sms] => 172
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 550
    [user_failed_sms] => 550
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 282
    [user_no_answer_sms] => 282
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764324051
    [create_date] => 1764324051
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478810,"compaign_read_complete_time":1764478814,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478867}
    [action_time] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478810,"compaign_read_complete_time":1764478814,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478867}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_77921_30112025_103006AM_675
    [common_name] => r137_77921_30112025_103006AM_675
    [52] => 1763969803_r137_voice.wav
    [voice_file] => 1763969803_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65637
    [temp_group_table] => contacts_temp_group_65637
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FTD,FTR,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764479102
    [reschedule_last_check_time] => 1764479102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479101
    [last_credit_update_time] => 1764479101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764480600}
    [rt_time] => {"1":1764480600}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 77921
\compaign_type : Rans per 30.47761 
ans sms 2359
dnd sms 0

require answer perrequire answer per : 719

user answer per : 161
below is the redis data 558 UPDATE voice_compaign_detail_77921 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 558 Total Failed : 636 no_answer_count : 213 Busy count :164 congestion_count : 76 failed_count : 183UPDATE voice_compaign_detail_77921 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 213 UPDATE voice_compaign_detail_77921 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 164 UPDATE voice_compaign_detail_77921 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_77921 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 183 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='719', `user_busy_sms`='336', `user_congestion_sms`='76', `user_failed_sms`='733', `user_hangup_sms`='0', `user_no_answer_sms`='495', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=77921 LIMIT 1 


Time Diff : 0.115

Array
(
    [0] => 78078
    [compaign_id] => 78078
    [1] => u61
    [user_id] => u61
    [2] => 65757,
    [group_ids] => 65757,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764478800
    [start_date] => 1764478800
    [9] => 0
    [end_date] => 0
    [10] => 1077
    [total_sms] => 1077
    [11] => 1077
    [sent_sms] => 1077
    [12] => 0
    [duplicate_sms] => 0
    [13] => 146
    [answered_sms] => 146
    [14] => 129
    [busy_sms] => 129
    [15] => 0
    [congestion_sms] => 0
    [16] => 167
    [failed_sms] => 167
    [17] => 0
    [hangup_sms] => 0
    [18] => 156
    [no_answer_sms] => 156
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 479
    [cutting_sms] => 479
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 146
    [user_answered_sms] => 146
    [27] => 129
    [user_busy_sms] => 129
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 167
    [user_failed_sms] => 167
    [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] => 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] => 1764392009
    [create_date] => 1764392009
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478810,"compaign_read_start_time":1764478813,"compaign_read_complete_time":1764478815,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478865}
    [action_time] => {"api_allot_time":1764478810,"compaign_read_start_time":1764478813,"compaign_read_complete_time":1764478815,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478865}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78078_30112025_103006AM_294
    [common_name] => u61_78078_30112025_103006AM_294
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_65757
    [temp_group_table] => contacts_temp_group_65757
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764479102
    [reschedule_last_check_time] => 1764479102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479101
    [last_credit_update_time] => 1764479101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764480600,"2":1764482400,"3":1764484200,"4":1764486000,"5":1764487800}
    [rt_time] => {"1":1764480600,"2":1764482400,"3":1764484200,"4":1764486000,"5":1764487800}
    [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 : 78078
\compaign_type : Rans per 25.06046 
ans sms 1077
dnd sms 0

require answer perrequire answer per : 270

user answer per : 146
below is the redis data 124 /n/r
only no answer and busy will be convert, total number require 124 /n/r
UPDATE voice_compaign_detail_78078 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_78078 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 91 Total Failed : 348 no_answer_count : 117 Busy count :90 congestion_count : 42 failed_count : 99UPDATE voice_compaign_detail_78078 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_78078 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_78078 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78078 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='270', `user_busy_sms`='253', `user_congestion_sms`='42', `user_failed_sms`='215', `user_hangup_sms`='0', `user_no_answer_sms`='297', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78078 LIMIT 1 


Time Diff : 0.254

Array
(
    [0] => 78563
    [compaign_id] => 78563
    [1] => u29686
    [user_id] => u29686
    [2] => 66184,
    [group_ids] => 66184,
    [3] => 
    [sender_id] => 
    [4] => Golu.mp3
    [filename] => Golu.mp3
    [5] => 27
    [duration] => 27
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764478800
    [start_date] => 1764478800
    [9] => 0
    [end_date] => 0
    [10] => 643
    [total_sms] => 643
    [11] => 643
    [sent_sms] => 643
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 39
    [busy_sms] => 39
    [15] => 0
    [congestion_sms] => 0
    [16] => 90
    [failed_sms] => 90
    [17] => 0
    [hangup_sms] => 0
    [18] => 97
    [no_answer_sms] => 97
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 244
    [cutting_sms] => 244
    [22] => 97
    [dnd_sms] => 97
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 39
    [user_busy_sms] => 39
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 90
    [user_failed_sms] => 90
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 97
    [user_no_answer_sms] => 97
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 97
    [user_dnd_sms] => 97
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29686
    [created_by] => u29686
    [38] => 1
    [isScheduled] => 1
    [39] => 1764435134
    [create_date] => 1764435134
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478816,"compaign_read_complete_time":1764478818,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478864}
    [action_time] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478816,"compaign_read_complete_time":1764478818,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478864}
    [50] => 0
    [compaign_file] => 0
    [51] => u29686_78563_30112025_103006AM_688
    [common_name] => u29686_78563_30112025_103006AM_688
    [52] => 1764435134_u29686_voice.wav
    [voice_file] => 1764435134_u29686_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_66184
    [temp_group_table] => contacts_temp_group_66184
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479101
    [last_credit_update_time] => 1764479101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1893
    [user_voice_plan_id] => 1893
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.1
    [pulse_rate] => 0.1
    [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,u29686
    [uphierarchy] => admin,sr83,sr180,u29686
    [113] => 
    [extra_params_json] => 
)


Compaign : 78563
\compaign_type : Rans per 26.81639 
ans sms 643
dnd sms 97

require answer perrequire answer per : 147

user answer per : 76
below is the redis data 71 UPDATE voice_compaign_detail_78563 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 Total Failed : 173 no_answer_count : 58 Busy count :45 congestion_count : 21 failed_count : 49UPDATE voice_compaign_detail_78563 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_78563 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_78563 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78563 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`='147', `user_busy_sms`='84', `user_congestion_sms`='21', `user_failed_sms`='139', `user_hangup_sms`='0', `user_no_answer_sms`='155', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='97' WHERE `compaign_id`=78563 LIMIT 1 


Time Diff : 0.379

Array
(
    [0] => 78580
    [compaign_id] => 78580
    [1] => u179
    [user_id] => u179
    [2] => 66194,
    [group_ids] => 66194,
    [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] => 1764478800
    [start_date] => 1764478800
    [9] => 0
    [end_date] => 0
    [10] => 51
    [total_sms] => 51
    [11] => 51
    [sent_sms] => 51
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 14
    [dnd_sms] => 14
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 14
    [user_dnd_sms] => 14
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764478322
    [create_date] => 1764478322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478819,"compaign_read_complete_time":1764478820,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478863}
    [action_time] => {"api_allot_time":1764478809,"compaign_read_start_time":1764478819,"compaign_read_complete_time":1764478820,"compaign_send_start_time":1764478862,"compaign_send_complete_time":1764478863}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78580_30112025_103006AM_841
    [common_name] => u179_78580_30112025_103006AM_841
    [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_66194
    [temp_group_table] => contacts_temp_group_66194
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764479101
    [last_credit_update_time] => 1764479101
    [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 : 78580
\compaign_type : Rans per 29.27258 
ans sms 51
dnd sms 14

require answer perrequire answer per : 11

user answer per : 6
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_78580 SET user_report='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_78580 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='11', `user_busy_sms`='14', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='14' WHERE `compaign_id`=78580 LIMIT 1 


Time Diff : 4.804

Array
(
    [0] => 78588
    [compaign_id] => 78588
    [1] => u29673
    [user_id] => u29673
    [2] => 66197,
    [group_ids] => 66197,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764478870
    [start_date] => 1764478870
    [9] => 0
    [end_date] => 0
    [10] => 640
    [total_sms] => 640
    [11] => 640
    [sent_sms] => 640
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 73
    [no_answer_sms] => 73
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 196
    [cutting_sms] => 196
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 73
    [user_no_answer_sms] => 73
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764478869
    [create_date] => 1764478869
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764478877,"compaign_read_start_time":1764478880,"compaign_read_complete_time":1764478881,"compaign_send_start_time":1764478922,"compaign_send_complete_time":1764478923}
    [action_time] => {"api_allot_time":1764478877,"compaign_read_start_time":1764478880,"compaign_read_complete_time":1764478881,"compaign_send_start_time":1764478922,"compaign_send_complete_time":1764478923}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78588_30112025_103116AM_271
    [common_name] => u29673_78588_30112025_103116AM_271
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66197
    [temp_group_table] => contacts_temp_group_66197
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479161
    [last_credit_update_time] => 1764479161
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78588
\compaign_type : Rans per 30.03749 
ans sms 640
dnd sms 185

require answer perrequire answer per : 137

user answer per : 85
below is the redis data 52 UPDATE voice_compaign_detail_78588 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 Total Failed : 144 no_answer_count : 49 Busy count :37 congestion_count : 18 failed_count : 40UPDATE voice_compaign_detail_78588 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_78588 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_78588 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78588 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`='137', `user_busy_sms`='84', `user_congestion_sms`='18', `user_failed_sms`='94', `user_hangup_sms`='0', `user_no_answer_sms`='122', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78588 LIMIT 1 


Time Diff : 0.336

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.62117 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.89518 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.83489 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.00781 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.14851 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.88198 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.31858 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479042
    [last_credit_update_time] => 1764479042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.86205 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.34136 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.17662 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.82636 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.54883 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.27269 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.31325 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.34914 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.33286 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220262'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.9606 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.84373 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.1028 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.05488 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220321'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.83493 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.57532 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.50068 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479282
    [last_credit_update_time] => 1764479282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.5996 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.32406 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.93191 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.1625 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.82064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220442'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.59377 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.71154 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.59004 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.27462 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.85521 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.1652 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.27523 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.09175 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.72198 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.30026 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.03218 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764479523
    [last_credit_update_time] => 1764479523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.86509 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.05344 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78566
    [compaign_id] => 78566
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 28842
    [total_sms] => 28842
    [11] => 28842
    [sent_sms] => 28842
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 4554
    [busy_sms] => 4554
    [15] => 0
    [congestion_sms] => 0
    [16] => 23660
    [failed_sms] => 23660
    [17] => 0
    [hangup_sms] => 0
    [18] => 592
    [no_answer_sms] => 592
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 4554
    [user_busy_sms] => 4554
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23660
    [user_failed_sms] => 23660
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 592
    [user_no_answer_sms] => 592
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78566
\compaign_type : ATans per 28.04227 
ans sms 28842
dnd sms 0

require answer perrequire answer per : 8088

user answer per : 36
below is the redis data 8052 UPDATE voice_compaign_detail_78566 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8052 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='36', `user_busy_sms`='4554', `user_congestion_sms`='0', `user_failed_sms`='23660', `user_hangup_sms`='0', `user_no_answer_sms`='592', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78566 LIMIT 1 


Time Diff : 0.097

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.26475 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.71712 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.5588 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.91281 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.82374 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.77945 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.28513 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.45475 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.97759 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.33859 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.51162 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220801'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.67578 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.35792 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.98245 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764479762
    [last_credit_update_time] => 1764479762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.78909 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.02472 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.72384 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.39378 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.18988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220922'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.20797 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.79773 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.65331 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78564
    [compaign_id] => 78564
    [1] => u29686
    [user_id] => u29686
    [2] => 66185,
    [group_ids] => 66185,
    [3] => 
    [sender_id] => 
    [4] => Sajiya Sheikh.mp3
    [filename] => Sajiya Sheikh.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764479700
    [start_date] => 1764479700
    [9] => 0
    [end_date] => 0
    [10] => 756
    [total_sms] => 756
    [11] => 756
    [sent_sms] => 756
    [12] => 0
    [duplicate_sms] => 0
    [13] => 103
    [answered_sms] => 103
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 77
    [failed_sms] => 77
    [17] => 0
    [hangup_sms] => 0
    [18] => 116
    [no_answer_sms] => 116
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 274
    [cutting_sms] => 274
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 103
    [user_answered_sms] => 103
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 77
    [user_failed_sms] => 77
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 116
    [user_no_answer_sms] => 116
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 137
    [user_dnd_sms] => 137
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29686
    [created_by] => u29686
    [38] => 1
    [isScheduled] => 1
    [39] => 1764435312
    [create_date] => 1764435312
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764479710,"compaign_read_start_time":1764479761,"compaign_read_complete_time":1764479763,"compaign_send_start_time":1764479822,"compaign_send_complete_time":1764479832}
    [action_time] => {"api_allot_time":1764479710,"compaign_read_start_time":1764479761,"compaign_read_complete_time":1764479763,"compaign_send_start_time":1764479822,"compaign_send_complete_time":1764479832}
    [50] => 0
    [compaign_file] => 0
    [51] => u29686_78564_30112025_104505AM_914
    [common_name] => u29686_78564_30112025_104505AM_914
    [52] => 1764435312_u29686_voice.wav
    [voice_file] => 1764435312_u29686_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_66185
    [temp_group_table] => contacts_temp_group_66185
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480062
    [last_credit_update_time] => 1764480062
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1893
    [user_voice_plan_id] => 1893
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.1
    [pulse_rate] => 0.1
    [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,u29686
    [uphierarchy] => admin,sr83,sr180,u29686
    [113] => 
    [extra_params_json] => 
)


Compaign : 78564
\compaign_type : Rans per 25.13315 
ans sms 756
dnd sms 137

require answer perrequire answer per : 156

user answer per : 103
below is the redis data 53 UPDATE voice_compaign_detail_78564 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 53 Total Failed : 221 no_answer_count : 74 Busy count :57 congestion_count : 27 failed_count : 63UPDATE voice_compaign_detail_78564 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_78564 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_78564 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78564 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='156', `user_busy_sms`='106', `user_congestion_sms`='27', `user_failed_sms`='140', `user_hangup_sms`='0', `user_no_answer_sms`='190', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=78564 LIMIT 1 


Time Diff : 0.321

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764220981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.65215 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.63893 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.24152 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.69301 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.6948 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.18577 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.53013 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480004
    [last_credit_update_time] => 1764480004
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.68791 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221102'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.97302 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.50556 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.16394 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.02339 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.44156 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.45664 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.73173 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.83145 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.99654 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.79835 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.657 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.09941 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.00521 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.81888 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.54089 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480244
    [last_credit_update_time] => 1764480244
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.79475 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.30907 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.20575 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.78811 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.09673 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.65673 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.5886 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.26601 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.84921 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.94813 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.22792 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.42641 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.92438 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78604
    [compaign_id] => 78604
    [1] => u20720
    [user_id] => u20720
    [2] => 66206,
    [group_ids] => 66206,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764480064
    [start_date] => 1764480064
    [9] => 0
    [end_date] => 0
    [10] => 14153
    [total_sms] => 14153
    [11] => 14153
    [sent_sms] => 14153
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1338
    [answered_sms] => 1338
    [14] => 858
    [busy_sms] => 858
    [15] => 5
    [congestion_sms] => 5
    [16] => 1803
    [failed_sms] => 1803
    [17] => 0
    [hangup_sms] => 0
    [18] => 1338
    [no_answer_sms] => 1338
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5467
    [cutting_sms] => 5467
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1338
    [user_answered_sms] => 1338
    [27] => 858
    [user_busy_sms] => 858
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 1803
    [user_failed_sms] => 1803
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764480056
    [create_date] => 1764480056
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480073,"compaign_read_start_time":1764480073,"compaign_read_complete_time":1764480105,"compaign_send_start_time":1764480122,"compaign_send_complete_time":1764480184}
    [action_time] => {"api_allot_time":1764480073,"compaign_read_start_time":1764480073,"compaign_read_complete_time":1764480105,"compaign_send_start_time":1764480122,"compaign_send_complete_time":1764480184}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78604_30112025_105109AM_174
    [common_name] => u20720_78604_30112025_105109AM_174
    [52] => 1764480056_u20720_voice.wav
    [voice_file] => 1764480056_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66206
    [temp_group_table] => contacts_temp_group_66206
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764480602
    [last_credit_update_time] => 1764480602
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78604
\compaign_type : Rans per 27.94871 
ans sms 14153
dnd sms 3344

require answer perrequire answer per : 3021

user answer per : 1338
below is the redis data 1683 UPDATE voice_compaign_detail_78604 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1683 Total Failed : 3785 no_answer_count : 1262 Busy count :972 congestion_count : 450 failed_count : 1101UPDATE voice_compaign_detail_78604 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1262 UPDATE voice_compaign_detail_78604 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 972 UPDATE voice_compaign_detail_78604 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 450 UPDATE voice_compaign_detail_78604 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1101 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3021', `user_busy_sms`='1830', `user_congestion_sms`='454', `user_failed_sms`='2904', `user_hangup_sms`='0', `user_no_answer_sms`='2600', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78604 LIMIT 1 


Time Diff : 0.036

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.40666 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.61648 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.42737 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480482
    [last_credit_update_time] => 1764480482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.59962 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.45874 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.67133 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.90416 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.24587 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78609
    [compaign_id] => 78609
    [1] => u29673
    [user_id] => u29673
    [2] => 66210,
    [group_ids] => 66210,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764480426
    [start_date] => 1764480426
    [9] => 0
    [end_date] => 0
    [10] => 503
    [total_sms] => 503
    [11] => 503
    [sent_sms] => 503
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 134
    [cutting_sms] => 134
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764480426
    [create_date] => 1764480426
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480434,"compaign_read_start_time":1764480436,"compaign_read_complete_time":1764480439,"compaign_send_start_time":1764480482,"compaign_send_complete_time":1764480483}
    [action_time] => {"api_allot_time":1764480434,"compaign_read_start_time":1764480436,"compaign_read_complete_time":1764480439,"compaign_send_start_time":1764480482,"compaign_send_complete_time":1764480483}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78609_30112025_105711AM_983
    [common_name] => u29673_78609_30112025_105711AM_983
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66210
    [temp_group_table] => contacts_temp_group_66210
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480722
    [last_credit_update_time] => 1764480722
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78609
\compaign_type : Rans per 27.17719 
ans sms 503
dnd sms 185

require answer perrequire answer per : 87

user answer per : 36
below is the redis data 51 UPDATE voice_compaign_detail_78609 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 51 Total Failed : 83 no_answer_count : 28 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_78609 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78609 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78609 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78609 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`='87', `user_busy_sms`='70', `user_congestion_sms`='10', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='79', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78609 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>'1764221641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.76453 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.09987 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.46355 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.8634 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.16281 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.72911 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.32138 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.76555 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78565
    [compaign_id] => 78565
    [1] => u29686
    [user_id] => u29686
    [2] => 66186,
    [group_ids] => 66186,
    [3] => 
    [sender_id] => 
    [4] => Shrinivas Gouskulah3.mp3
    [filename] => Shrinivas Gouskulah3.mp3
    [5] => 28
    [duration] => 28
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764480600
    [start_date] => 1764480600
    [9] => 0
    [end_date] => 0
    [10] => 254
    [total_sms] => 254
    [11] => 254
    [sent_sms] => 254
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 57
    [no_answer_sms] => 57
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 69
    [cutting_sms] => 69
    [22] => 53
    [dnd_sms] => 53
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [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] => 53
    [user_dnd_sms] => 53
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29686
    [created_by] => u29686
    [38] => 1
    [isScheduled] => 1
    [39] => 1764440408
    [create_date] => 1764440408
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480609,"compaign_read_start_time":1764480661,"compaign_read_complete_time":1764480662,"compaign_send_start_time":1764480722,"compaign_send_complete_time":1764480727}
    [action_time] => {"api_allot_time":1764480609,"compaign_read_start_time":1764480661,"compaign_read_complete_time":1764480662,"compaign_send_start_time":1764480722,"compaign_send_complete_time":1764480727}
    [50] => 0
    [compaign_file] => 0
    [51] => u29686_78565_30112025_110006AM_480
    [common_name] => u29686_78565_30112025_110006AM_480
    [52] => 1764440408_u29686_voice.wav
    [voice_file] => 1764440408_u29686_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_66186
    [temp_group_table] => contacts_temp_group_66186
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480902
    [last_credit_update_time] => 1764480902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1893
    [user_voice_plan_id] => 1893
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.1
    [pulse_rate] => 0.1
    [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,u29686
    [uphierarchy] => admin,sr83,sr180,u29686
    [113] => 
    [extra_params_json] => 
)


Compaign : 78565
\compaign_type : Rans per 29.56275 
ans sms 254
dnd sms 53

require answer perrequire answer per : 60

user answer per : 39
below is the redis data 21 UPDATE voice_compaign_detail_78565 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 Total Failed : 48 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 12UPDATE voice_compaign_detail_78565 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_78565 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_78565 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78565 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='60', `user_busy_sms`='33', `user_congestion_sms`='6', `user_failed_sms`='28', `user_hangup_sms`='0', `user_no_answer_sms`='74', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='53' WHERE `compaign_id`=78565 LIMIT 1 


Time Diff : 0.606

Array
(
    [0] => 78595
    [compaign_id] => 78595
    [1] => u61
    [user_id] => u61
    [2] => 66203,
    [group_ids] => 66203,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764480600
    [start_date] => 1764480600
    [9] => 0
    [end_date] => 0
    [10] => 807
    [total_sms] => 807
    [11] => 807
    [sent_sms] => 807
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 94
    [busy_sms] => 94
    [15] => 0
    [congestion_sms] => 0
    [16] => 155
    [failed_sms] => 155
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 378
    [cutting_sms] => 378
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 88
    [user_answered_sms] => 88
    [27] => 94
    [user_busy_sms] => 94
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 155
    [user_failed_sms] => 155
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 92
    [user_no_answer_sms] => 92
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1764479528
    [create_date] => 1764479528
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480607,"compaign_read_start_time":1764480608,"compaign_read_complete_time":1764480609,"compaign_send_start_time":1764480661,"compaign_send_complete_time":1764480664}
    [action_time] => {"api_allot_time":1764480607,"compaign_read_start_time":1764480608,"compaign_read_complete_time":1764480609,"compaign_send_start_time":1764480661,"compaign_send_complete_time":1764480664}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78595_30112025_110006AM_693
    [common_name] => u61_78595_30112025_110006AM_693
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_66203
    [temp_group_table] => contacts_temp_group_66203
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480902
    [last_credit_update_time] => 1764480902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 78595
\compaign_type : Rans per 29.07319 
ans sms 807
dnd sms 0

require answer perrequire answer per : 235

user answer per : 88
below is the redis data 147 /n/r
only no answer and busy will be convert, total number require 147 /n/r
UPDATE voice_compaign_detail_78595 SET user_report='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_78595 SET user_report='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 : 233 no_answer_count : 78 Busy count :60 congestion_count : 28 failed_count : 67UPDATE voice_compaign_detail_78595 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_78595 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_78595 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78595 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='235', `user_busy_sms`='185', `user_congestion_sms`='28', `user_failed_sms`='157', `user_hangup_sms`='0', `user_no_answer_sms`='202', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78595 LIMIT 1 


Time Diff : 0.227

Array
(
    [0] => 78596
    [compaign_id] => 78596
    [1] => r137
    [user_id] => r137
    [2] => 66202,
    [group_ids] => 66202,
    [3] => 
    [sender_id] => 
    [4] => Daund 2 Edited Final.mp3
    [filename] => Daund 2 Edited Final.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764480600
    [start_date] => 1764480600
    [9] => 0
    [end_date] => 0
    [10] => 831
    [total_sms] => 831
    [11] => 831
    [sent_sms] => 831
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 117
    [busy_sms] => 117
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 200
    [no_answer_sms] => 200
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 349
    [cutting_sms] => 349
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 117
    [user_busy_sms] => 117
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 200
    [user_no_answer_sms] => 200
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764479528
    [create_date] => 1764479528
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480608,"compaign_read_start_time":1764480611,"compaign_read_complete_time":1764480612,"compaign_send_start_time":1764480661,"compaign_send_complete_time":1764480664}
    [action_time] => {"api_allot_time":1764480608,"compaign_read_start_time":1764480611,"compaign_read_complete_time":1764480612,"compaign_send_start_time":1764480661,"compaign_send_complete_time":1764480664}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_78596_30112025_110006AM_882
    [common_name] => r137_78596_30112025_110006AM_882
    [52] => 1763969803_r137_voice.wav
    [voice_file] => 1763969803_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66202
    [temp_group_table] => contacts_temp_group_66202
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480902
    [last_credit_update_time] => 1764480902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 78596
\compaign_type : Rans per 25.28164 
ans sms 831
dnd sms 0

require answer perrequire answer per : 211

user answer per : 66
below is the redis data 145 UPDATE voice_compaign_detail_78596 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 145 Total Failed : 204 no_answer_count : 69 Busy count :53 congestion_count : 25 failed_count : 57UPDATE voice_compaign_detail_78596 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_78596 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_78596 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_78596 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`='211', `user_busy_sms`='170', `user_congestion_sms`='25', `user_failed_sms`='156', `user_hangup_sms`='0', `user_no_answer_sms`='269', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78596 LIMIT 1 


Time Diff : 0.22

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221762'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.12973 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.67263 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.33155 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480727
    [last_credit_update_time] => 1764480727
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.94809 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.65848 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.85042 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.01881 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.29258 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.33021 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.47451 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.21573 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.12468 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764221941'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.93432 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.41155 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.12489 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.01596 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.8101 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.96534 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.74611 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764480970
    [last_credit_update_time] => 1764480970
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.65965 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.72623 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.01204 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.21097 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.09381 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.29828 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.17228 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.54376 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.55313 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08298 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.64167 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.96976 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.33396 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.20786 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.45416 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.72643 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481202
    [last_credit_update_time] => 1764481202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.55229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78615
    [compaign_id] => 78615
    [1] => u20720
    [user_id] => u20720
    [2] => 66213,
    [group_ids] => 66213,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764480967
    [start_date] => 1764480967
    [9] => 0
    [end_date] => 0
    [10] => 11132
    [total_sms] => 11132
    [11] => 11132
    [sent_sms] => 11132
    [12] => 0
    [duplicate_sms] => 0
    [13] => 753
    [answered_sms] => 753
    [14] => 663
    [busy_sms] => 663
    [15] => 6
    [congestion_sms] => 6
    [16] => 1488
    [failed_sms] => 1488
    [17] => 0
    [hangup_sms] => 0
    [18] => 937
    [no_answer_sms] => 937
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3941
    [cutting_sms] => 3941
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 753
    [user_answered_sms] => 753
    [27] => 663
    [user_busy_sms] => 663
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 1488
    [user_failed_sms] => 1488
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 937
    [user_no_answer_sms] => 937
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764480963
    [create_date] => 1764480963
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764480976,"compaign_read_start_time":1764480977,"compaign_read_complete_time":1764481000,"compaign_send_start_time":1764481022,"compaign_send_complete_time":1764481054}
    [action_time] => {"api_allot_time":1764480976,"compaign_read_start_time":1764480977,"compaign_read_complete_time":1764481000,"compaign_send_start_time":1764481022,"compaign_send_complete_time":1764481054}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78615_30112025_110612AM_753
    [common_name] => u20720_78615_30112025_110612AM_753
    [52] => 1764480962_u20720_voice.wav
    [voice_file] => 1764480962_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66213
    [temp_group_table] => contacts_temp_group_66213
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764481441
    [last_credit_update_time] => 1764481441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78615
\compaign_type : Rans per 26.17253 
ans sms 11132
dnd sms 3344

require answer perrequire answer per : 2039

user answer per : 753
below is the redis data 1286 UPDATE voice_compaign_detail_78615 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1286 Total Failed : 2659 no_answer_count : 887 Busy count :683 congestion_count : 316 failed_count : 773UPDATE voice_compaign_detail_78615 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 887 UPDATE voice_compaign_detail_78615 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 683 UPDATE voice_compaign_detail_78615 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 316 UPDATE voice_compaign_detail_78615 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 773 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2039', `user_busy_sms`='1346', `user_congestion_sms`='318', `user_failed_sms`='2261', `user_hangup_sms`='0', `user_no_answer_sms`='1824', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78615 LIMIT 1 


Time Diff : 0.035

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.53367 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.16246 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.74525 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.50332 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.8335 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.29015 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.79677 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.40829 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.70045 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.25665 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.59325 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.88564 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.24437 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.59533 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.81553 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481442
    [last_credit_update_time] => 1764481442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.11403 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.85811 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.35665 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.79066 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.33982 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.46923 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.63378 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.88192 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.1501 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78628
    [compaign_id] => 78628
    [1] => u179
    [user_id] => u179
    [2] => 66218,
    [group_ids] => 66218,
    [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] => 1764481530
    [start_date] => 1764481530
    [9] => 0
    [end_date] => 0
    [10] => 73
    [total_sms] => 73
    [11] => 73
    [sent_sms] => 73
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [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] => 14
    [dnd_sms] => 14
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [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] => 14
    [user_dnd_sms] => 14
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481530
    [create_date] => 1764481530
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481540,"compaign_read_start_time":1764481541,"compaign_read_complete_time":1764481541,"compaign_send_start_time":1764481562,"compaign_send_complete_time":1764481569}
    [action_time] => {"api_allot_time":1764481540,"compaign_read_start_time":1764481541,"compaign_read_complete_time":1764481541,"compaign_send_start_time":1764481562,"compaign_send_complete_time":1764481569}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78628_30112025_111536AM_603
    [common_name] => u179_78628_30112025_111536AM_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_66218
    [temp_group_table] => contacts_temp_group_66218
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 3
    [reschedule_max] => 3
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 3
    [reschedule_remaining] => 3
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481802
    [last_credit_update_time] => 1764481802
    [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":1764484200,"2":1764485100,"3":1764486000}
    [rt_time] => {"1":1764484200,"2":1764485100,"3":1764486000}
    [104] => 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 : 78628
\compaign_type : Rans per 30.39949 
ans sms 73
dnd sms 14

require answer perrequire answer per : 18

user answer per : 23
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='23', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='14' WHERE `compaign_id`=78628 LIMIT 1 


Time Diff : 2.493

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.63384 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.24204 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.77657 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.20357 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.40632 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.18581 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.05306 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764481681
    [last_credit_update_time] => 1764481681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.3526 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.46051 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.55352 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.49045 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.1549 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.34099 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.11626 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.20287 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.06447 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.15947 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.51719 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.99178 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.83599 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78629
    [compaign_id] => 78629
    [1] => sr170
    [user_id] => sr170
    [2] => 66219,
    [group_ids] => 66219,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764481539
    [start_date] => 1764481539
    [9] => 0
    [end_date] => 0
    [10] => 6123
    [total_sms] => 6123
    [11] => 6123
    [sent_sms] => 6123
    [12] => 0
    [duplicate_sms] => 0
    [13] => 544
    [answered_sms] => 544
    [14] => 261
    [busy_sms] => 261
    [15] => 0
    [congestion_sms] => 0
    [16] => 1570
    [failed_sms] => 1570
    [17] => 0
    [hangup_sms] => 0
    [18] => 555
    [no_answer_sms] => 555
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3193
    [cutting_sms] => 3193
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 544
    [user_answered_sms] => 544
    [27] => 261
    [user_busy_sms] => 261
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1570
    [user_failed_sms] => 1570
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 555
    [user_no_answer_sms] => 555
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481536
    [create_date] => 1764481536
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481548,"compaign_read_start_time":1764481550,"compaign_read_complete_time":1764481558,"compaign_send_start_time":1764481562,"compaign_send_complete_time":1764481581}
    [action_time] => {"api_allot_time":1764481548,"compaign_read_start_time":1764481550,"compaign_read_complete_time":1764481558,"compaign_send_start_time":1764481562,"compaign_send_complete_time":1764481581}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78629_30112025_111546AM_419
    [common_name] => sr170_78629_30112025_111546AM_419
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66219
    [temp_group_table] => contacts_temp_group_66219
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764481803
    [reschedule_last_check_time] => 1764481803
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482041
    [last_credit_update_time] => 1764482041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78629
\compaign_type : Rans per 27.43108 
ans sms 6123
dnd sms 0

require answer perrequire answer per : 1680

user answer per : 544
below is the redis data 1136 /n/r
only no answer and busy will be convert, total number require 1136 /n/r
UPDATE voice_compaign_detail_78629 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 796 UPDATE voice_compaign_detail_78629 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 796 Total Failed : 2123 no_answer_count : 708 Busy count :545 congestion_count : 253 failed_count : 617UPDATE voice_compaign_detail_78629 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 708 UPDATE voice_compaign_detail_78629 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 545 UPDATE voice_compaign_detail_78629 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 253 UPDATE voice_compaign_detail_78629 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 617 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1360', `user_busy_sms`='1341', `user_congestion_sms`='253', `user_failed_sms`='1665', `user_hangup_sms`='0', `user_no_answer_sms`='1504', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78629 LIMIT 1 


Time Diff : 0.079

Array
(
    [0] => 78632
    [compaign_id] => 78632
    [1] => u20720
    [user_id] => u20720
    [2] => 66221,
    [group_ids] => 66221,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764481766
    [start_date] => 1764481766
    [9] => 0
    [end_date] => 0
    [10] => 9093
    [total_sms] => 9093
    [11] => 9093
    [sent_sms] => 9093
    [12] => 0
    [duplicate_sms] => 0
    [13] => 441
    [answered_sms] => 441
    [14] => 582
    [busy_sms] => 582
    [15] => 2
    [congestion_sms] => 2
    [16] => 1284
    [failed_sms] => 1284
    [17] => 0
    [hangup_sms] => 0
    [18] => 651
    [no_answer_sms] => 651
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2789
    [cutting_sms] => 2789
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481761
    [create_date] => 1764481761
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481776,"compaign_read_start_time":1764481777,"compaign_read_complete_time":1764481806,"compaign_send_start_time":1764481861,"compaign_send_complete_time":1764481877}
    [action_time] => {"api_allot_time":1764481776,"compaign_read_start_time":1764481777,"compaign_read_complete_time":1764481806,"compaign_send_start_time":1764481861,"compaign_send_complete_time":1764481877}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78632_30112025_111931AM_792
    [common_name] => u20720_78632_30112025_111931AM_792
    [52] => 1764481761_u20720_voice.wav
    [voice_file] => 1764481761_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66221
    [temp_group_table] => contacts_temp_group_66221
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482101
    [last_credit_update_time] => 1764482101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78632
\compaign_type : Rans per 30.05917 
ans sms 9093
dnd sms 3344

require answer perrequire answer per : 1729

user answer per : 441
below is the redis data 1288 UPDATE voice_compaign_detail_78632 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1288 Total Failed : 1503 no_answer_count : 502 Busy count :386 congestion_count : 179 failed_count : 436UPDATE voice_compaign_detail_78632 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 502 UPDATE voice_compaign_detail_78632 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 386 UPDATE voice_compaign_detail_78632 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 179 UPDATE voice_compaign_detail_78632 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 436 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1729', `user_busy_sms`='968', `user_congestion_sms`='179', `user_failed_sms`='1720', `user_hangup_sms`='0', `user_no_answer_sms`='1153', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78632 LIMIT 1 


Time Diff : 0.024

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764222961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.48242 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.80485 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.35364 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764481922
    [last_credit_update_time] => 1764481922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.3473 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.04021 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.06237 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.50992 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.86033 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.20196 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.46827 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.21875 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.30952 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78630
    [compaign_id] => 78630
    [1] => sr170
    [user_id] => sr170
    [2] => 66220,
    [group_ids] => 66220,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764481557
    [start_date] => 1764481557
    [9] => 0
    [end_date] => 0
    [10] => 6123
    [total_sms] => 6123
    [11] => 6123
    [sent_sms] => 6123
    [12] => 0
    [duplicate_sms] => 0
    [13] => 599
    [answered_sms] => 599
    [14] => 312
    [busy_sms] => 312
    [15] => 2
    [congestion_sms] => 2
    [16] => 1736
    [failed_sms] => 1736
    [17] => 0
    [hangup_sms] => 0
    [18] => 520
    [no_answer_sms] => 520
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2954
    [cutting_sms] => 2954
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 599
    [user_answered_sms] => 599
    [27] => 312
    [user_busy_sms] => 312
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 1736
    [user_failed_sms] => 1736
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 520
    [user_no_answer_sms] => 520
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481554
    [create_date] => 1764481554
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481566,"compaign_read_start_time":1764481567,"compaign_read_complete_time":1764481577,"compaign_send_start_time":1764481622,"compaign_send_complete_time":1764481636}
    [action_time] => {"api_allot_time":1764481566,"compaign_read_start_time":1764481567,"compaign_read_complete_time":1764481577,"compaign_send_start_time":1764481622,"compaign_send_complete_time":1764481636}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78630_30112025_111603AM_972
    [common_name] => sr170_78630_30112025_111603AM_972
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66220
    [temp_group_table] => contacts_temp_group_66220
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764482104
    [reschedule_last_check_time] => 1764482104
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482282
    [last_credit_update_time] => 1764482282
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78630
\compaign_type : Rans per 25.62857 
ans sms 6123
dnd sms 0

require answer perrequire answer per : 1570

user answer per : 599
below is the redis data 971 /n/r
only no answer and busy will be convert, total number require 971 /n/r
UPDATE voice_compaign_detail_78630 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 680 UPDATE voice_compaign_detail_78630 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 680 Total Failed : 2092 no_answer_count : 698 Busy count :537 congestion_count : 249 failed_count : 608UPDATE voice_compaign_detail_78630 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 698 UPDATE voice_compaign_detail_78630 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 537 UPDATE voice_compaign_detail_78630 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 249 UPDATE voice_compaign_detail_78630 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 608 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1431', `user_busy_sms`='1217', `user_congestion_sms`='251', `user_failed_sms`='1846', `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`=78630 LIMIT 1 


Time Diff : 0.098

Array
(
    [0] => 78638
    [compaign_id] => 78638
    [1] => u29663
    [user_id] => u29663
    [2] => 66226,
    [group_ids] => 66226,
    [3] => 
    [sender_id] => 
    [4] => ujjwala voice 30sec.mp3
    [filename] => ujjwala voice 30sec.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764481958
    [start_date] => 1764481958
    [9] => 0
    [end_date] => 0
    [10] => 2721
    [total_sms] => 2721
    [11] => 2721
    [sent_sms] => 2721
    [12] => 0
    [duplicate_sms] => 0
    [13] => 399
    [answered_sms] => 399
    [14] => 203
    [busy_sms] => 203
    [15] => 0
    [congestion_sms] => 0
    [16] => 143
    [failed_sms] => 143
    [17] => 0
    [hangup_sms] => 0
    [18] => 352
    [no_answer_sms] => 352
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 941
    [cutting_sms] => 941
    [22] => 683
    [dnd_sms] => 683
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 399
    [user_answered_sms] => 399
    [27] => 203
    [user_busy_sms] => 203
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 143
    [user_failed_sms] => 143
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 352
    [user_no_answer_sms] => 352
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 683
    [user_dnd_sms] => 683
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29663
    [created_by] => u29663
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481956
    [create_date] => 1764481956
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481968,"compaign_read_start_time":1764481969,"compaign_read_complete_time":1764481974,"compaign_send_start_time":1764481982,"compaign_send_complete_time":1764481988}
    [action_time] => {"api_allot_time":1764481968,"compaign_read_start_time":1764481969,"compaign_read_complete_time":1764481974,"compaign_send_start_time":1764481982,"compaign_send_complete_time":1764481988}
    [50] => 0
    [compaign_file] => 0
    [51] => u29663_78638_30112025_112243AM_369
    [common_name] => u29663_78638_30112025_112243AM_369
    [52] => 1764399266_u29663_voice.wav
    [voice_file] => 1764399266_u29663_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66226
    [temp_group_table] => contacts_temp_group_66226
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482222
    [last_credit_update_time] => 1764482222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1888
    [user_voice_plan_id] => 1888
    [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,sr309,u29663
    [uphierarchy] => admin,sr53,sr78,sr309,u29663
    [113] => 
    [extra_params_json] => 
)


Compaign : 78638
\compaign_type : Rans per 29.76766 
ans sms 2721
dnd sms 683

require answer perrequire answer per : 607

user answer per : 399
below is the redis data 208 UPDATE voice_compaign_detail_78638 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 208 Total Failed : 733 no_answer_count : 245 Busy count :189 congestion_count : 88 failed_count : 211UPDATE voice_compaign_detail_78638 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 245 UPDATE voice_compaign_detail_78638 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 189 UPDATE voice_compaign_detail_78638 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_78638 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='607', `user_busy_sms`='392', `user_congestion_sms`='88', `user_failed_sms`='354', `user_hangup_sms`='0', `user_no_answer_sms`='597', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='683' WHERE `compaign_id`=78638 LIMIT 1 


Time Diff : 0.093

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.78588 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.2598 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.21419 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.16759 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.12583 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.25467 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.40781 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482161
    [last_credit_update_time] => 1764482161
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.66102 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223262'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.04458 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.00555 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.10756 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.38019 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223321'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.75284 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.89373 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.01806 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.27572 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78637
    [compaign_id] => 78637
    [1] => u29676
    [user_id] => u29676
    [2] => 66225,
    [group_ids] => 66225,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764481932
    [start_date] => 1764481932
    [9] => 0
    [end_date] => 0
    [10] => 8049
    [total_sms] => 8049
    [11] => 8049
    [sent_sms] => 8049
    [12] => 0
    [duplicate_sms] => 0
    [13] => 840
    [answered_sms] => 840
    [14] => 463
    [busy_sms] => 463
    [15] => 0
    [congestion_sms] => 0
    [16] => 871
    [failed_sms] => 871
    [17] => 0
    [hangup_sms] => 0
    [18] => 848
    [no_answer_sms] => 848
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3081
    [cutting_sms] => 3081
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 840
    [user_answered_sms] => 840
    [27] => 463
    [user_busy_sms] => 463
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 871
    [user_failed_sms] => 871
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 848
    [user_no_answer_sms] => 848
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764481926
    [create_date] => 1764481926
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764481940,"compaign_read_start_time":1764481942,"compaign_read_complete_time":1764481962,"compaign_send_start_time":1764481982,"compaign_send_complete_time":1764481999}
    [action_time] => {"api_allot_time":1764481940,"compaign_read_start_time":1764481942,"compaign_read_complete_time":1764481962,"compaign_send_start_time":1764481982,"compaign_send_complete_time":1764481999}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78637_30112025_112217AM_158
    [common_name] => u29676_78637_30112025_112217AM_158
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66225
    [temp_group_table] => contacts_temp_group_66225
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764482463
    [last_credit_update_time] => 1764482463
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78637
\compaign_type : Rans per 30.98384 
ans sms 8049
dnd sms 1946

require answer perrequire answer per : 1891

user answer per : 840
below is the redis data 1051 UPDATE voice_compaign_detail_78637 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1051 Total Failed : 2030 no_answer_count : 677 Busy count :521 congestion_count : 241 failed_count : 591UPDATE voice_compaign_detail_78637 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 677 UPDATE voice_compaign_detail_78637 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 521 UPDATE voice_compaign_detail_78637 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 241 UPDATE voice_compaign_detail_78637 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 591 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1891', `user_busy_sms`='984', `user_congestion_sms`='241', `user_failed_sms`='1462', `user_hangup_sms`='0', `user_no_answer_sms`='1525', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78637 LIMIT 1 


Time Diff : 0.061

Array
(
    [0] => 78639
    [compaign_id] => 78639
    [1] => u29660
    [user_id] => u29660
    [2] => 66227,
    [group_ids] => 66227,
    [3] => 
    [sender_id] => 
    [4] => Nitin Patil Voice Call .mp3
    [filename] => Nitin Patil Voice Call .mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482016
    [start_date] => 1764482016
    [9] => 0
    [end_date] => 0
    [10] => 3863
    [total_sms] => 3863
    [11] => 3863
    [sent_sms] => 3863
    [12] => 0
    [duplicate_sms] => 0
    [13] => 373
    [answered_sms] => 373
    [14] => 244
    [busy_sms] => 244
    [15] => 2
    [congestion_sms] => 2
    [16] => 406
    [failed_sms] => 406
    [17] => 0
    [hangup_sms] => 0
    [18] => 414
    [no_answer_sms] => 414
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1406
    [cutting_sms] => 1406
    [22] => 1018
    [dnd_sms] => 1018
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 373
    [user_answered_sms] => 373
    [27] => 244
    [user_busy_sms] => 244
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 406
    [user_failed_sms] => 406
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 414
    [user_no_answer_sms] => 414
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1018
    [user_dnd_sms] => 1018
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29660
    [created_by] => u29660
    [38] => 0
    [isScheduled] => 0
    [39] => 1764482014
    [create_date] => 1764482014
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482025,"compaign_read_start_time":1764482027,"compaign_read_complete_time":1764482035,"compaign_send_start_time":1764482042,"compaign_send_complete_time":1764482059}
    [action_time] => {"api_allot_time":1764482025,"compaign_read_start_time":1764482027,"compaign_read_complete_time":1764482035,"compaign_send_start_time":1764482042,"compaign_send_complete_time":1764482059}
    [50] => 0
    [compaign_file] => 0
    [51] => u29660_78639_30112025_112342AM_489
    [common_name] => u29660_78639_30112025_112342AM_489
    [52] => 1764233165_u29660_voice.wav
    [voice_file] => 1764233165_u29660_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66227
    [temp_group_table] => contacts_temp_group_66227
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764482463
    [last_credit_update_time] => 1764482463
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1869
    [user_voice_plan_id] => 1869
    [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,sr309,u29660
    [uphierarchy] => admin,sr53,sr78,sr309,u29660
    [113] => 
    [extra_params_json] => 
)


Compaign : 78639
\compaign_type : Rans per 27.50467 
ans sms 3863
dnd sms 1018

require answer perrequire answer per : 783

user answer per : 373
below is the redis data 410 UPDATE voice_compaign_detail_78639 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 410 Total Failed : 996 no_answer_count : 333 Busy count :256 congestion_count : 119 failed_count : 288UPDATE voice_compaign_detail_78639 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 333 UPDATE voice_compaign_detail_78639 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 256 UPDATE voice_compaign_detail_78639 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_78639 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`='783', `user_busy_sms`='500', `user_congestion_sms`='121', `user_failed_sms`='694', `user_hangup_sms`='0', `user_no_answer_sms`='747', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1018' WHERE `compaign_id`=78639 LIMIT 1 


Time Diff : 0.07

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223382'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.41187 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.93203 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.90956 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.8423 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.40616 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.12264 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.22345 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482402
    [last_credit_update_time] => 1764482402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.07553 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223502'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.47736 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.31574 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.11508 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.42125 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78640
    [compaign_id] => 78640
    [1] => u29664
    [user_id] => u29664
    [2] => 66228,
    [group_ids] => 66228,
    [3] => 
    [sender_id] => 
    [4] => Dhananjay Voice call.mp3
    [filename] => Dhananjay Voice call.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482080
    [start_date] => 1764482080
    [9] => 0
    [end_date] => 0
    [10] => 1742
    [total_sms] => 1742
    [11] => 1742
    [sent_sms] => 1742
    [12] => 0
    [duplicate_sms] => 0
    [13] => 170
    [answered_sms] => 170
    [14] => 85
    [busy_sms] => 85
    [15] => 2
    [congestion_sms] => 2
    [16] => 373
    [failed_sms] => 373
    [17] => 0
    [hangup_sms] => 0
    [18] => 125
    [no_answer_sms] => 125
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 784
    [cutting_sms] => 784
    [22] => 203
    [dnd_sms] => 203
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 170
    [user_answered_sms] => 170
    [27] => 85
    [user_busy_sms] => 85
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 373
    [user_failed_sms] => 373
    [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] => 203
    [user_dnd_sms] => 203
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29664
    [created_by] => u29664
    [38] => 0
    [isScheduled] => 0
    [39] => 1764482078
    [create_date] => 1764482078
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482090,"compaign_read_start_time":1764482101,"compaign_read_complete_time":1764482107,"compaign_send_start_time":1764482161,"compaign_send_complete_time":1764482165}
    [action_time] => {"api_allot_time":1764482090,"compaign_read_start_time":1764482101,"compaign_read_complete_time":1764482107,"compaign_send_start_time":1764482161,"compaign_send_complete_time":1764482165}
    [50] => 0
    [compaign_file] => 0
    [51] => u29664_78640_30112025_112446AM_622
    [common_name] => u29664_78640_30112025_112446AM_622
    [52] => 1764399040_u29664_voice.wav
    [voice_file] => 1764399040_u29664_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66228
    [temp_group_table] => contacts_temp_group_66228
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1887
    [user_voice_plan_id] => 1887
    [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,sr309,u29664
    [uphierarchy] => admin,sr53,sr78,sr309,u29664
    [113] => 
    [extra_params_json] => 
)


Compaign : 78640
\compaign_type : Rans per 30.12555 
ans sms 1742
dnd sms 203

require answer perrequire answer per : 464

user answer per : 170
below is the redis data 294 UPDATE voice_compaign_detail_78640 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 294 Total Failed : 490 no_answer_count : 164 Busy count :126 congestion_count : 59 failed_count : 141UPDATE voice_compaign_detail_78640 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 164 UPDATE voice_compaign_detail_78640 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 126 UPDATE voice_compaign_detail_78640 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_78640 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`='464', `user_busy_sms`='211', `user_congestion_sms`='61', `user_failed_sms`='514', `user_hangup_sms`='0', `user_no_answer_sms`='289', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='203' WHERE `compaign_id`=78640 LIMIT 1 


Time Diff : 0.208

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.23205 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.27608 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.49896 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.76132 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78570
    [compaign_id] => 78570
    [1] => u29686
    [user_id] => u29686
    [2] => 66187,
    [group_ids] => 66187,
    [3] => 
    [sender_id] => 
    [4] => Malatai Recording.mp3
    [filename] => Malatai Recording.mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764482400
    [start_date] => 1764482400
    [9] => 0
    [end_date] => 0
    [10] => 518
    [total_sms] => 518
    [11] => 518
    [sent_sms] => 518
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 29
    [failed_sms] => 29
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 148
    [cutting_sms] => 148
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29
    [user_failed_sms] => 29
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 89
    [user_no_answer_sms] => 89
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 137
    [user_dnd_sms] => 137
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29686
    [created_by] => u29686
    [38] => 1
    [isScheduled] => 1
    [39] => 1764475968
    [create_date] => 1764475968
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482408,"compaign_read_start_time":1764482410,"compaign_read_complete_time":1764482412,"compaign_send_start_time":1764482462,"compaign_send_complete_time":1764482472}
    [action_time] => {"api_allot_time":1764482408,"compaign_read_start_time":1764482410,"compaign_read_complete_time":1764482412,"compaign_send_start_time":1764482462,"compaign_send_complete_time":1764482472}
    [50] => 0
    [compaign_file] => 0
    [51] => u29686_78570_30112025_113005AM_945
    [common_name] => u29686_78570_30112025_113005AM_945
    [52] => 1764475968_u29686_voice.wav
    [voice_file] => 1764475968_u29686_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_66187
    [temp_group_table] => contacts_temp_group_66187
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482702
    [last_credit_update_time] => 1764482702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1893
    [user_voice_plan_id] => 1893
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.1
    [pulse_rate] => 0.1
    [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,u29686
    [uphierarchy] => admin,sr83,sr180,u29686
    [113] => 
    [extra_params_json] => 
)


Compaign : 78570
\compaign_type : Rans per 30.38167 
ans sms 518
dnd sms 137

require answer perrequire answer per : 116

user answer per : 65
below is the redis data 51 UPDATE voice_compaign_detail_78570 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 51 Total Failed : 97 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_78570 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_78570 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_78570 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78570 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='116', `user_busy_sms`='75', `user_congestion_sms`='12', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='122', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=78570 LIMIT 1 


Time Diff : 0.527

Array
(
    [0] => 78620
    [compaign_id] => 78620
    [1] => u61
    [user_id] => u61
    [2] => 66216,
    [group_ids] => 66216,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482400
    [start_date] => 1764482400
    [9] => 0
    [end_date] => 0
    [10] => 572
    [total_sms] => 572
    [11] => 572
    [sent_sms] => 572
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 244
    [cutting_sms] => 244
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [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] => 1764481024
    [create_date] => 1764481024
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482409,"compaign_read_start_time":1764482413,"compaign_read_complete_time":1764482414,"compaign_send_start_time":1764482462,"compaign_send_complete_time":1764482472}
    [action_time] => {"api_allot_time":1764482409,"compaign_read_start_time":1764482413,"compaign_read_complete_time":1764482414,"compaign_send_start_time":1764482462,"compaign_send_complete_time":1764482472}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78620_30112025_113005AM_215
    [common_name] => u61_78620_30112025_113005AM_215
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_66216
    [temp_group_table] => contacts_temp_group_66216
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482702
    [last_credit_update_time] => 1764482702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 78620
\compaign_type : Rans per 25.74531 
ans sms 572
dnd sms 0

require answer perrequire answer per : 148

user answer per : 62
below is the redis data 86 /n/r
only no answer and busy will be convert, total number require 86 /n/r
UPDATE voice_compaign_detail_78620 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_78620 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 64 Total Failed : 173 no_answer_count : 58 Busy count :45 congestion_count : 21 failed_count : 49UPDATE voice_compaign_detail_78620 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_78620 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_78620 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78620 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`='148', `user_busy_sms`='122', `user_congestion_sms`='21', `user_failed_sms`='148', `user_hangup_sms`='0', `user_no_answer_sms`='133', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78620 LIMIT 1 


Time Diff : 0.423

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223621'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.98227 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.8975 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.15657 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.42191 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.21697 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.64169 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.25476 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 40
    [credit_seq] => 40
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482641
    [last_credit_update_time] => 1764482641
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.11065 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.92896 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.2527 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.16779 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.12773 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.99763 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.04531 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.67379 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.65142 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.35231 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.35638 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.09398 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.43466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78647
    [compaign_id] => 78647
    [1] => u29687
    [user_id] => u29687
    [2] => 66234,
    [group_ids] => 66234,
    [3] => 
    [sender_id] => 
    [4] => Anil Walmik Chaudhari Voice Call .mp3
    [filename] => Anil Walmik Chaudhari Voice Call .mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482767
    [start_date] => 1764482767
    [9] => 0
    [end_date] => 0
    [10] => 3000
    [total_sms] => 3000
    [11] => 3000
    [sent_sms] => 3000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 257
    [answered_sms] => 257
    [14] => 149
    [busy_sms] => 149
    [15] => 2
    [congestion_sms] => 2
    [16] => 447
    [failed_sms] => 447
    [17] => 0
    [hangup_sms] => 0
    [18] => 238
    [no_answer_sms] => 238
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1143
    [cutting_sms] => 1143
    [22] => 764
    [dnd_sms] => 764
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 257
    [user_answered_sms] => 257
    [27] => 149
    [user_busy_sms] => 149
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 447
    [user_failed_sms] => 447
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 238
    [user_no_answer_sms] => 238
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 764
    [user_dnd_sms] => 764
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29687
    [created_by] => u29687
    [38] => 0
    [isScheduled] => 0
    [39] => 1764482765
    [create_date] => 1764482765
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482780,"compaign_read_start_time":1764482783,"compaign_read_complete_time":1764482789,"compaign_send_start_time":1764482821,"compaign_send_complete_time":1764482828}
    [action_time] => {"api_allot_time":1764482780,"compaign_read_start_time":1764482783,"compaign_read_complete_time":1764482789,"compaign_send_start_time":1764482821,"compaign_send_complete_time":1764482828}
    [50] => 0
    [compaign_file] => 0
    [51] => u29687_78647_30112025_113612AM_415
    [common_name] => u29687_78647_30112025_113612AM_415
    [52] => 1764482765_u29687_voice.wav
    [voice_file] => 1764482765_u29687_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66234
    [temp_group_table] => contacts_temp_group_66234
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483002
    [last_credit_update_time] => 1764483002
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1894
    [user_voice_plan_id] => 1894
    [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,sr309,u29687
    [uphierarchy] => admin,sr53,sr78,sr309,u29687
    [113] => 
    [extra_params_json] => 
)


Compaign : 78647
\compaign_type : Rans per 26.91282 
ans sms 3000
dnd sms 764

require answer perrequire answer per : 602

user answer per : 257
below is the redis data 345 UPDATE voice_compaign_detail_78647 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 345 Total Failed : 800 no_answer_count : 267 Busy count :206 congestion_count : 95 failed_count : 232UPDATE voice_compaign_detail_78647 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 267 UPDATE voice_compaign_detail_78647 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 206 UPDATE voice_compaign_detail_78647 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 UPDATE voice_compaign_detail_78647 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 232 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='602', `user_busy_sms`='355', `user_congestion_sms`='95', `user_failed_sms`='679', `user_hangup_sms`='0', `user_no_answer_sms`='505', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='764' WHERE `compaign_id`=78647 LIMIT 1 


Time Diff : 0.061

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.57463 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.5091 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.81248 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 41
    [credit_seq] => 41
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764482881
    [last_credit_update_time] => 1764482881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.66952 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764223981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.21815 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.97643 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.03596 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.60016 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224042'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.34971 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.69186 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.54848 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.6577 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224102'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.19091 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.75487 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.93248 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.06314 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78644
    [compaign_id] => 78644
    [1] => sr170
    [user_id] => sr170
    [2] => 66231,
    [group_ids] => 66231,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482551
    [start_date] => 1764482551
    [9] => 0
    [end_date] => 0
    [10] => 4692
    [total_sms] => 4692
    [11] => 4692
    [sent_sms] => 4692
    [12] => 0
    [duplicate_sms] => 0
    [13] => 323
    [answered_sms] => 323
    [14] => 151
    [busy_sms] => 151
    [15] => 0
    [congestion_sms] => 0
    [16] => 1718
    [failed_sms] => 1718
    [17] => 0
    [hangup_sms] => 0
    [18] => 254
    [no_answer_sms] => 254
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2246
    [cutting_sms] => 2246
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 323
    [user_answered_sms] => 323
    [27] => 151
    [user_busy_sms] => 151
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1718
    [user_failed_sms] => 1718
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 254
    [user_no_answer_sms] => 254
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764482551
    [create_date] => 1764482551
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482560,"compaign_read_start_time":1764482560,"compaign_read_complete_time":1764482568,"compaign_send_start_time":1764482582,"compaign_send_complete_time":1764482595}
    [action_time] => {"api_allot_time":1764482560,"compaign_read_start_time":1764482560,"compaign_read_complete_time":1764482568,"compaign_send_start_time":1764482582,"compaign_send_complete_time":1764482595}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78644_30112025_113237AM_340
    [common_name] => sr170_78644_30112025_113237AM_340
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66231
    [temp_group_table] => contacts_temp_group_66231
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764483242
    [last_credit_update_time] => 1764483242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78644
\compaign_type : Rans per 25.32436 
ans sms 4692
dnd sms 0

require answer perrequire answer per : 1189

user answer per : 323
below is the redis data 866 /n/r
only no answer and busy will be convert, total number require 866 /n/r
UPDATE voice_compaign_detail_78644 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 659 UPDATE voice_compaign_detail_78644 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 659 Total Failed : 1488 no_answer_count : 497 Busy count :382 congestion_count : 177 failed_count : 432UPDATE voice_compaign_detail_78644 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 497 UPDATE voice_compaign_detail_78644 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 382 UPDATE voice_compaign_detail_78644 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 177 UPDATE voice_compaign_detail_78644 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 432 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='728', `user_busy_sms`='1041', `user_congestion_sms`='177', `user_failed_sms`='1590', `user_hangup_sms`='0', `user_no_answer_sms`='1156', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78644 LIMIT 1 


Time Diff : 0.147

Array
(
    [0] => 78645
    [compaign_id] => 78645
    [1] => sr170
    [user_id] => sr170
    [2] => 66230,
    [group_ids] => 66230,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764482552
    [start_date] => 1764482552
    [9] => 0
    [end_date] => 0
    [10] => 4763
    [total_sms] => 4763
    [11] => 4763
    [sent_sms] => 4763
    [12] => 0
    [duplicate_sms] => 0
    [13] => 296
    [answered_sms] => 296
    [14] => 185
    [busy_sms] => 185
    [15] => 0
    [congestion_sms] => 0
    [16] => 1744
    [failed_sms] => 1744
    [17] => 0
    [hangup_sms] => 0
    [18] => 298
    [no_answer_sms] => 298
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2240
    [cutting_sms] => 2240
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 296
    [user_answered_sms] => 296
    [27] => 185
    [user_busy_sms] => 185
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1744
    [user_failed_sms] => 1744
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 298
    [user_no_answer_sms] => 298
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764482552
    [create_date] => 1764482552
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764482559,"compaign_read_start_time":1764482563,"compaign_read_complete_time":1764482571,"compaign_send_start_time":1764482582,"compaign_send_complete_time":1764482596}
    [action_time] => {"api_allot_time":1764482559,"compaign_read_start_time":1764482563,"compaign_read_complete_time":1764482571,"compaign_send_start_time":1764482582,"compaign_send_complete_time":1764482596}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78645_30112025_113237AM_579
    [common_name] => sr170_78645_30112025_113237AM_579
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66230
    [temp_group_table] => contacts_temp_group_66230
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764483242
    [last_credit_update_time] => 1764483242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78645
\compaign_type : Rans per 29.63107 
ans sms 4763
dnd sms 0

require answer perrequire answer per : 1412

user answer per : 296
below is the redis data 1116 /n/r
only no answer and busy will be convert, total number require 1116 /n/r
UPDATE voice_compaign_detail_78645 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 882 UPDATE voice_compaign_detail_78645 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 882 Total Failed : 1244 no_answer_count : 415 Busy count :320 congestion_count : 148 failed_count : 361UPDATE voice_compaign_detail_78645 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 415 UPDATE voice_compaign_detail_78645 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 320 UPDATE voice_compaign_detail_78645 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 UPDATE voice_compaign_detail_78645 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 361 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='779', `user_busy_sms`='1202', `user_congestion_sms`='148', `user_failed_sms`='1337', `user_hangup_sms`='0', `user_no_answer_sms`='1297', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78645 LIMIT 1 


Time Diff : 0.146

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224161'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.79981 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.61255 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.78442 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 42
    [credit_seq] => 42
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483122
    [last_credit_update_time] => 1764483122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.64448 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.62 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.35292 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.3056 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.05146 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224281'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.81565 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.98717 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.67522 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.87781 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.65603 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.05149 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.67649 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.89799 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.69166 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.51309 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.27834 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483361
    [last_credit_update_time] => 1764483361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.39257 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224462'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.0634 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.1805 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.49522 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.34646 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.89248 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.29102 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.36453 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.04055 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78651
    [compaign_id] => 78651
    [1] => u371
    [user_id] => u371
    [2] => 66237,
    [group_ids] => 66237,
    [3] => 
    [sender_id] => 
    [4] => MANTHINI.mp3
    [filename] => MANTHINI.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764483386
    [start_date] => 1764483386
    [9] => 0
    [end_date] => 0
    [10] => 799
    [total_sms] => 799
    [11] => 799
    [sent_sms] => 799
    [12] => 0
    [duplicate_sms] => 0
    [13] => 86
    [answered_sms] => 86
    [14] => 38
    [busy_sms] => 38
    [15] => 0
    [congestion_sms] => 0
    [16] => 243
    [failed_sms] => 243
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 373
    [cutting_sms] => 373
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 86
    [user_answered_sms] => 86
    [27] => 38
    [user_busy_sms] => 38
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 243
    [user_failed_sms] => 243
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 59
    [user_no_answer_sms] => 59
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764483385
    [create_date] => 1764483385
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764483396,"compaign_read_start_time":1764483397,"compaign_read_complete_time":1764483398,"compaign_send_start_time":1764483422,"compaign_send_complete_time":1764483426}
    [action_time] => {"api_allot_time":1764483396,"compaign_read_start_time":1764483397,"compaign_read_complete_time":1764483398,"compaign_send_start_time":1764483422,"compaign_send_complete_time":1764483426}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_78651_30112025_114631AM_760
    [common_name] => u371_78651_30112025_114631AM_760
    [52] => 1764417805_u371_voice.wav
    [voice_file] => 1764417805_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66237
    [temp_group_table] => contacts_temp_group_66237
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483662
    [last_credit_update_time] => 1764483662
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 78651
\compaign_type : Rans per 25.45098 
ans sms 799
dnd sms 0

require answer perrequire answer per : 204

user answer per : 86
below is the redis data 118 /n/r
only no answer and busy will be convert, total number require 118 /n/r
UPDATE voice_compaign_detail_78651 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_78651 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 87 Total Failed : 267 no_answer_count : 90 Busy count :69 congestion_count : 32 failed_count : 76UPDATE voice_compaign_detail_78651 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_78651 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_78651 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78651 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='183', `user_busy_sms`='156', `user_congestion_sms`='32', `user_failed_sms`='251', `user_hangup_sms`='0', `user_no_answer_sms`='177', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78651 LIMIT 1 


Time Diff : 0.303

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224582'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.33875 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.94417 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.96639 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.88982 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.96826 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.69569 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.0466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 44
    [credit_seq] => 44
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483602
    [last_credit_update_time] => 1764483602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.13654 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78653
    [compaign_id] => 78653
    [1] => u29688
    [user_id] => u29688
    [2] => 66239,
    [group_ids] => 66239,
    [3] => 
    [sender_id] => 
    [4] => Shital Jadhav 12 Voice call.mp3
    [filename] => Shital Jadhav 12 Voice call.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764483545
    [start_date] => 1764483545
    [9] => 0
    [end_date] => 0
    [10] => 2184
    [total_sms] => 2184
    [11] => 2184
    [sent_sms] => 2184
    [12] => 0
    [duplicate_sms] => 0
    [13] => 245
    [answered_sms] => 245
    [14] => 133
    [busy_sms] => 133
    [15] => 0
    [congestion_sms] => 0
    [16] => 326
    [failed_sms] => 326
    [17] => 0
    [hangup_sms] => 0
    [18] => 198
    [no_answer_sms] => 198
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 816
    [cutting_sms] => 816
    [22] => 466
    [dnd_sms] => 466
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 245
    [user_answered_sms] => 245
    [27] => 133
    [user_busy_sms] => 133
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 326
    [user_failed_sms] => 326
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 198
    [user_no_answer_sms] => 198
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 466
    [user_dnd_sms] => 466
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29688
    [created_by] => u29688
    [38] => 0
    [isScheduled] => 0
    [39] => 1764483544
    [create_date] => 1764483544
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764483557,"compaign_read_start_time":1764483559,"compaign_read_complete_time":1764483564,"compaign_send_start_time":1764483602,"compaign_send_complete_time":1764483607}
    [action_time] => {"api_allot_time":1764483557,"compaign_read_start_time":1764483559,"compaign_read_complete_time":1764483564,"compaign_send_start_time":1764483602,"compaign_send_complete_time":1764483607}
    [50] => 0
    [compaign_file] => 0
    [51] => u29688_78653_30112025_114911AM_535
    [common_name] => u29688_78653_30112025_114911AM_535
    [52] => 1764483544_u29688_voice.wav
    [voice_file] => 1764483544_u29688_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66239
    [temp_group_table] => contacts_temp_group_66239
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483841
    [last_credit_update_time] => 1764483841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1895
    [user_voice_plan_id] => 1895
    [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,sr309,u29688
    [uphierarchy] => admin,sr53,sr78,sr309,u29688
    [113] => 
    [extra_params_json] => 
)


Compaign : 78653
\compaign_type : Rans per 30.86165 
ans sms 2184
dnd sms 466

require answer perrequire answer per : 531

user answer per : 245
below is the redis data 286 UPDATE voice_compaign_detail_78653 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 286 Total Failed : 530 no_answer_count : 177 Busy count :136 congestion_count : 63 failed_count : 154UPDATE voice_compaign_detail_78653 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 177 UPDATE voice_compaign_detail_78653 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 136 UPDATE voice_compaign_detail_78653 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_78653 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='531', `user_busy_sms`='269', `user_congestion_sms`='63', `user_failed_sms`='480', `user_hangup_sms`='0', `user_no_answer_sms`='375', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='466' WHERE `compaign_id`=78653 LIMIT 1 


Time Diff : 0.083

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.51938 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.73248 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.89732 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483844
    [last_credit_update_time] => 1764483844
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.37896 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.04474 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.81957 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.69865 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483844
    [last_credit_update_time] => 1764483844
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.06432 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78652
    [compaign_id] => 78652
    [1] => sr170
    [user_id] => sr170
    [2] => 66238,
    [group_ids] => 66238,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764483439
    [start_date] => 1764483439
    [9] => 0
    [end_date] => 0
    [10] => 3964
    [total_sms] => 3964
    [11] => 3964
    [sent_sms] => 3964
    [12] => 0
    [duplicate_sms] => 0
    [13] => 123
    [answered_sms] => 123
    [14] => 68
    [busy_sms] => 68
    [15] => 0
    [congestion_sms] => 0
    [16] => 1647
    [failed_sms] => 1647
    [17] => 0
    [hangup_sms] => 0
    [18] => 113
    [no_answer_sms] => 113
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2013
    [cutting_sms] => 2013
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 123
    [user_answered_sms] => 123
    [27] => 68
    [user_busy_sms] => 68
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1647
    [user_failed_sms] => 1647
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 113
    [user_no_answer_sms] => 113
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764483439
    [create_date] => 1764483439
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764483449,"compaign_read_start_time":1764483452,"compaign_read_complete_time":1764483458,"compaign_send_start_time":1764483481,"compaign_send_complete_time":1764483501}
    [action_time] => {"api_allot_time":1764483449,"compaign_read_start_time":1764483452,"compaign_read_complete_time":1764483458,"compaign_send_start_time":1764483481,"compaign_send_complete_time":1764483501}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78652_30112025_114724AM_195
    [common_name] => sr170_78652_30112025_114724AM_195
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66238
    [temp_group_table] => contacts_temp_group_66238
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764483902
    [last_credit_update_time] => 1764483902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78652
\compaign_type : Rans per 26.38114 
ans sms 3964
dnd sms 0

require answer perrequire answer per : 1046

user answer per : 123
below is the redis data 923 /n/r
only no answer and busy will be convert, total number require 923 /n/r
UPDATE voice_compaign_detail_78652 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 656 UPDATE voice_compaign_detail_78652 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 656 Total Failed : 1322 no_answer_count : 441 Busy count :340 congestion_count : 157 failed_count : 384UPDATE voice_compaign_detail_78652 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 441 UPDATE voice_compaign_detail_78652 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 340 UPDATE voice_compaign_detail_78652 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 157 UPDATE voice_compaign_detail_78652 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 384 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='304', `user_busy_sms`='996', `user_congestion_sms`='157', `user_failed_sms`='1410', `user_hangup_sms`='0', `user_no_answer_sms`='1097', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78652 LIMIT 1 


Time Diff : 0.106

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.64392 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.59532 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.9034 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483844
    [last_credit_update_time] => 1764483844
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.71474 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.5358 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48826 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483843
    [last_credit_update_time] => 1764483843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.42414 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764483844
    [last_credit_update_time] => 1764483844
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.5363 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764224941'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.78507 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.6301 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.23907 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.72024 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225001'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.63349 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.04235 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.1139 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.04728 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225062'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.51439 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.38963 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.85048 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.19783 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78656
    [compaign_id] => 78656
    [1] => sr170
    [user_id] => sr170
    [2] => 66240,
    [group_ids] => 66240,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764483747
    [start_date] => 1764483747
    [9] => 0
    [end_date] => 0
    [10] => 3984
    [total_sms] => 3984
    [11] => 3984
    [sent_sms] => 3984
    [12] => 0
    [duplicate_sms] => 0
    [13] => 111
    [answered_sms] => 111
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 1662
    [failed_sms] => 1662
    [17] => 0
    [hangup_sms] => 0
    [18] => 130
    [no_answer_sms] => 130
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2016
    [cutting_sms] => 2016
    [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] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1662
    [user_failed_sms] => 1662
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 130
    [user_no_answer_sms] => 130
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764483747
    [create_date] => 1764483747
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764483757,"compaign_read_start_time":1764483757,"compaign_read_complete_time":1764483763,"compaign_send_start_time":1764483782,"compaign_send_complete_time":1764483791}
    [action_time] => {"api_allot_time":1764483757,"compaign_read_start_time":1764483757,"compaign_read_complete_time":1764483763,"compaign_send_start_time":1764483782,"compaign_send_complete_time":1764483791}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78656_30112025_115233AM_794
    [common_name] => sr170_78656_30112025_115233AM_794
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66240
    [temp_group_table] => contacts_temp_group_66240
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764484262
    [last_credit_update_time] => 1764484262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78656
\compaign_type : Rans per 29.68459 
ans sms 3984
dnd sms 0

require answer perrequire answer per : 1183

user answer per : 111
below is the redis data 1072 /n/r
only no answer and busy will be convert, total number require 1072 /n/r
UPDATE voice_compaign_detail_78656 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 804 UPDATE voice_compaign_detail_78656 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 804 Total Failed : 1127 no_answer_count : 376 Busy count :290 congestion_count : 134 failed_count : 327UPDATE voice_compaign_detail_78656 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 376 UPDATE voice_compaign_detail_78656 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 290 UPDATE voice_compaign_detail_78656 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 134 UPDATE voice_compaign_detail_78656 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 327 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='306', `user_busy_sms`='1094', `user_congestion_sms`='134', `user_failed_sms`='1270', `user_hangup_sms`='0', `user_no_answer_sms`='1180', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78656 LIMIT 1 


Time Diff : 0.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>'1764225121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.69254 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.78555 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.60702 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 46
    [credit_seq] => 46
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484084
    [last_credit_update_time] => 1764484084
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.19144 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.58357 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.688 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.14827 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.01541 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78657
    [compaign_id] => 78657
    [1] => u371
    [user_id] => u371
    [2] => 66241,
    [group_ids] => 66241,
    [3] => 
    [sender_id] => 
    [4] => MANTHINI.mp3
    [filename] => MANTHINI.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484025
    [start_date] => 1764484025
    [9] => 0
    [end_date] => 0
    [10] => 799
    [total_sms] => 799
    [11] => 799
    [sent_sms] => 799
    [12] => 0
    [duplicate_sms] => 0
    [13] => 90
    [answered_sms] => 90
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 260
    [failed_sms] => 260
    [17] => 0
    [hangup_sms] => 0
    [18] => 62
    [no_answer_sms] => 62
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 353
    [cutting_sms] => 353
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 90
    [user_answered_sms] => 90
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 260
    [user_failed_sms] => 260
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 62
    [user_no_answer_sms] => 62
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484025
    [create_date] => 1764484025
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484040,"compaign_read_start_time":1764484042,"compaign_read_complete_time":1764484043,"compaign_send_start_time":1764484082,"compaign_send_complete_time":1764484089}
    [action_time] => {"api_allot_time":1764484040,"compaign_read_start_time":1764484042,"compaign_read_complete_time":1764484043,"compaign_send_start_time":1764484082,"compaign_send_complete_time":1764484089}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_78657_30112025_115711AM_462
    [common_name] => u371_78657_30112025_115711AM_462
    [52] => 1764417805_u371_voice.wav
    [voice_file] => 1764417805_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66241
    [temp_group_table] => contacts_temp_group_66241
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484321
    [last_credit_update_time] => 1764484321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 78657
\compaign_type : Rans per 28.48272 
ans sms 799
dnd sms 0

require answer perrequire answer per : 228

user answer per : 90
below is the redis data 138 /n/r
only no answer and busy will be convert, total number require 138 /n/r
UPDATE voice_compaign_detail_78657 SET user_report='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_78657 SET user_report='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 : 234 no_answer_count : 79 Busy count :61 congestion_count : 28 failed_count : 66UPDATE voice_compaign_detail_78657 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_78657 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_78657 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78657 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`='186', `user_busy_sms`='166', `user_congestion_sms`='28', `user_failed_sms`='235', `user_hangup_sms`='0', `user_no_answer_sms`='184', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78657 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>'1764225242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.35126 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.72123 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.65036 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.20274 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08247 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.22467 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.95039 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.10209 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.43943 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.39458 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.37961 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 47
    [credit_seq] => 47
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484322
    [last_credit_update_time] => 1764484322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.18994 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78649
    [compaign_id] => 78649
    [1] => u61
    [user_id] => u61
    [2] => 66235,
    [group_ids] => 66235,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484200
    [start_date] => 1764484200
    [9] => 0
    [end_date] => 0
    [10] => 424
    [total_sms] => 424
    [11] => 424
    [sent_sms] => 424
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 165
    [failed_sms] => 165
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 168
    [cutting_sms] => 168
    [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] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 165
    [user_failed_sms] => 165
    [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] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1764483124
    [create_date] => 1764483124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484209,"compaign_read_start_time":1764484213,"compaign_read_complete_time":1764484214,"compaign_send_start_time":1764484262,"compaign_send_complete_time":1764484263}
    [action_time] => {"api_allot_time":1764484209,"compaign_read_start_time":1764484213,"compaign_read_complete_time":1764484214,"compaign_send_start_time":1764484262,"compaign_send_complete_time":1764484263}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78649_30112025_120005PM_643
    [common_name] => u61_78649_30112025_120005PM_643
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_66235
    [temp_group_table] => contacts_temp_group_66235
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484501
    [last_credit_update_time] => 1764484501
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 78649
\compaign_type : Rans per 30.57971 
ans sms 424
dnd sms 0

require answer perrequire answer per : 130

user answer per : 27
below is the redis data 103 /n/r
only no answer and busy will be convert, total number require 103 /n/r
UPDATE voice_compaign_detail_78649 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 73 UPDATE voice_compaign_detail_78649 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 73 Total Failed : 93 no_answer_count : 32 Busy count :24 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_78649 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78649 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_78649 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78649 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`='91', `user_busy_sms`='97', `user_congestion_sms`='12', `user_failed_sms`='119', `user_hangup_sms`='0', `user_no_answer_sms`='105', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78649 LIMIT 1 


Time Diff : 0.642

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225422'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.87446 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.66982 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.29823 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.85465 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78661
    [compaign_id] => 78661
    [1] => u29654
    [user_id] => u29654
    [2] => 66245,
    [group_ids] => 66245,
    [3] => 
    [sender_id] => 
    [4] => Karmala-Samarth140.wav
    [filename] => Karmala-Samarth140.wav
    [5] => 50
    [duration] => 50
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484279
    [start_date] => 1764484279
    [9] => 0
    [end_date] => 0
    [10] => 454
    [total_sms] => 454
    [11] => 454
    [sent_sms] => 454
    [12] => 0
    [duplicate_sms] => 0
    [13] => 48
    [answered_sms] => 48
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 77
    [failed_sms] => 77
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 121
    [cutting_sms] => 121
    [22] => 128
    [dnd_sms] => 128
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 48
    [user_answered_sms] => 48
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 77
    [user_failed_sms] => 77
    [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] => 128
    [user_dnd_sms] => 128
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484278
    [create_date] => 1764484278
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484288,"compaign_read_start_time":1764484289,"compaign_read_complete_time":1764484290,"compaign_send_start_time":1764484322,"compaign_send_complete_time":1764484323}
    [action_time] => {"api_allot_time":1764484288,"compaign_read_start_time":1764484289,"compaign_read_complete_time":1764484290,"compaign_send_start_time":1764484322,"compaign_send_complete_time":1764484323}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_78661_30112025_120124PM_711
    [common_name] => u29654_78661_30112025_120124PM_711
    [52] => 1764331749_u29654_voice.wav
    [voice_file] => 1764331749_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66245
    [temp_group_table] => contacts_temp_group_66245
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764484502
    [reschedule_last_check_time] => 1764484502
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 15
    [dtmf_wait_time] => 15
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764485100}
    [rt_time] => {"1":1764485100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 78661
\compaign_type : Rans per 25.8661 
ans sms 454
dnd sms 128

require answer perrequire answer per : 85

user answer per : 48
below is the redis data 37 UPDATE voice_compaign_detail_78661 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 37 Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_78661 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78661 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78661 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78661 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='85', `user_busy_sms`='55', `user_congestion_sms`='10', `user_failed_sms`='100', `user_hangup_sms`='0', `user_no_answer_sms`='76', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='128' WHERE `compaign_id`=78661 LIMIT 1 


Time Diff : 0.604

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.56862 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.68896 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.53762 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.95722 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78663
    [compaign_id] => 78663
    [1] => u20720
    [user_id] => u20720
    [2] => 66248,
    [group_ids] => 66248,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484345
    [start_date] => 1764484345
    [9] => 0
    [end_date] => 0
    [10] => 7364
    [total_sms] => 7364
    [11] => 7364
    [sent_sms] => 7364
    [12] => 0
    [duplicate_sms] => 0
    [13] => 236
    [answered_sms] => 236
    [14] => 423
    [busy_sms] => 423
    [15] => 0
    [congestion_sms] => 0
    [16] => 1020
    [failed_sms] => 1020
    [17] => 0
    [hangup_sms] => 0
    [18] => 438
    [no_answer_sms] => 438
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1903
    [cutting_sms] => 1903
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 236
    [user_answered_sms] => 236
    [27] => 423
    [user_busy_sms] => 423
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1020
    [user_failed_sms] => 1020
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 438
    [user_no_answer_sms] => 438
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484342
    [create_date] => 1764484342
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484355,"compaign_read_start_time":1764484357,"compaign_read_complete_time":1764484381,"compaign_send_start_time":1764484381,"compaign_send_complete_time":1764484397}
    [action_time] => {"api_allot_time":1764484355,"compaign_read_start_time":1764484357,"compaign_read_complete_time":1764484381,"compaign_send_start_time":1764484381,"compaign_send_complete_time":1764484397}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78663_30112025_120231PM_592
    [common_name] => u20720_78663_30112025_120231PM_592
    [52] => 1764484342_u20720_voice.wav
    [voice_file] => 1764484342_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66248
    [temp_group_table] => contacts_temp_group_66248
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484622
    [last_credit_update_time] => 1764484622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78663
\compaign_type : Rans per 28.28805 
ans sms 7364
dnd sms 3344

require answer perrequire answer per : 1138

user answer per : 236
below is the redis data 902 UPDATE voice_compaign_detail_78663 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 902 Total Failed : 1001 no_answer_count : 334 Busy count :257 congestion_count : 119 failed_count : 291UPDATE voice_compaign_detail_78663 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 334 UPDATE voice_compaign_detail_78663 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 257 UPDATE voice_compaign_detail_78663 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_78663 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 291 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1138', `user_busy_sms`='680', `user_congestion_sms`='119', `user_failed_sms`='1311', `user_hangup_sms`='0', `user_no_answer_sms`='772', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78663 LIMIT 1 


Time Diff : 0.037

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.18637 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.94586 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.83561 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.6417 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.44396 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.23523 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.57604 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 48
    [credit_seq] => 48
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484561
    [last_credit_update_time] => 1764484561
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.34396 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.52259 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.63799 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.74196 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.77877 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.67298 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.8878 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.38229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.14279 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.17944 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.78258 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.62853 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.26007 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78665
    [compaign_id] => 78665
    [1] => u29631
    [user_id] => u29631
    [2] => 66249,
    [group_ids] => 66249,
    [3] => 
    [sender_id] => 
    [4] => 2911.mp3
    [filename] => 2911.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484384
    [start_date] => 1764484384
    [9] => 0
    [end_date] => 0
    [10] => 11494
    [total_sms] => 11494
    [11] => 11494
    [sent_sms] => 11494
    [12] => 0
    [duplicate_sms] => 0
    [13] => 745
    [answered_sms] => 745
    [14] => 723
    [busy_sms] => 723
    [15] => 2
    [congestion_sms] => 2
    [16] => 1193
    [failed_sms] => 1193
    [17] => 0
    [hangup_sms] => 0
    [18] => 1289
    [no_answer_sms] => 1289
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4371
    [cutting_sms] => 4371
    [22] => 3171
    [dnd_sms] => 3171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 745
    [user_answered_sms] => 745
    [27] => 723
    [user_busy_sms] => 723
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 1193
    [user_failed_sms] => 1193
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1289
    [user_no_answer_sms] => 1289
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3171
    [user_dnd_sms] => 3171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29631
    [created_by] => u29631
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484377
    [create_date] => 1764484377
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484392,"compaign_read_start_time":1764484393,"compaign_read_complete_time":1764484430,"compaign_send_start_time":1764484442,"compaign_send_complete_time":1764484477}
    [action_time] => {"api_allot_time":1764484392,"compaign_read_start_time":1764484393,"compaign_read_complete_time":1764484430,"compaign_send_start_time":1764484442,"compaign_send_complete_time":1764484477}
    [50] => 0
    [compaign_file] => 0
    [51] => u29631_78665_30112025_120309PM_160
    [common_name] => u29631_78665_30112025_120309PM_160
    [52] => 1764413565_u29631_voice.wav
    [voice_file] => 1764413565_u29631_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66249
    [temp_group_table] => contacts_temp_group_66249
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764484921
    [last_credit_update_time] => 1764484921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1841
    [user_voice_plan_id] => 1841
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u29631
    [uphierarchy] => admin,sr173,u29631
    [113] => 
    [extra_params_json] => 
)


Compaign : 78665
\compaign_type : Rans per 26.03367 
ans sms 11494
dnd sms 3171

require answer perrequire answer per : 2167

user answer per : 745
below is the redis data 1422 UPDATE voice_compaign_detail_78665 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1422 Total Failed : 2950 no_answer_count : 984 Busy count :757 congestion_count : 351 failed_count : 858UPDATE voice_compaign_detail_78665 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 984 UPDATE voice_compaign_detail_78665 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 757 UPDATE voice_compaign_detail_78665 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 351 UPDATE voice_compaign_detail_78665 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 858 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2167', `user_busy_sms`='1480', `user_congestion_sms`='352', `user_failed_sms`='2051', `user_hangup_sms`='0', `user_no_answer_sms`='2273', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3171' WHERE `compaign_id`=78665 LIMIT 1 


Time Diff : 0.043

Array
(
    [0] => 78670
    [compaign_id] => 78670
    [1] => u29664
    [user_id] => u29664
    [2] => 66257,
    [group_ids] => 66257,
    [3] => 
    [sender_id] => 
    [4] => Dhananjay Voice call.mp3
    [filename] => Dhananjay Voice call.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484627
    [start_date] => 1764484627
    [9] => 0
    [end_date] => 0
    [10] => 1075
    [total_sms] => 1075
    [11] => 1075
    [sent_sms] => 1075
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 64
    [busy_sms] => 64
    [15] => 1
    [congestion_sms] => 1
    [16] => 317
    [failed_sms] => 317
    [17] => 0
    [hangup_sms] => 0
    [18] => 93
    [no_answer_sms] => 93
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 522
    [cutting_sms] => 522
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 64
    [user_busy_sms] => 64
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 317
    [user_failed_sms] => 317
    [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] => u29664
    [created_by] => u29664
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484627
    [create_date] => 1764484627
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484635,"compaign_read_start_time":1764484637,"compaign_read_complete_time":1764484639,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [action_time] => {"api_allot_time":1764484635,"compaign_read_start_time":1764484637,"compaign_read_complete_time":1764484639,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [50] => 0
    [compaign_file] => 0
    [51] => u29664_78670_30112025_120712PM_221
    [common_name] => u29664_78670_30112025_120712PM_221
    [52] => 1764399040_u29664_voice.wav
    [voice_file] => 1764399040_u29664_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66257
    [temp_group_table] => contacts_temp_group_66257
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484921
    [last_credit_update_time] => 1764484921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1887
    [user_voice_plan_id] => 1887
    [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,sr309,u29664
    [uphierarchy] => admin,sr53,sr78,sr309,u29664
    [113] => 
    [extra_params_json] => 
)


Compaign : 78670
\compaign_type : Rans per 26.30703 
ans sms 1075
dnd sms 0

require answer perrequire answer per : 283

user answer per : 78
below is the redis data 205 UPDATE voice_compaign_detail_78670 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 205 Total Failed : 318 no_answer_count : 107 Busy count :82 congestion_count : 38 failed_count : 91UPDATE voice_compaign_detail_78670 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 107 UPDATE voice_compaign_detail_78670 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_78670 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_78670 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='283', `user_busy_sms`='146', `user_congestion_sms`='38', `user_failed_sms`='408', `user_hangup_sms`='0', `user_no_answer_sms`='200', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78670 LIMIT 1 


Time Diff : 0.258

Array
(
    [0] => 78671
    [compaign_id] => 78671
    [1] => u29688
    [user_id] => u29688
    [2] => 66252,
    [group_ids] => 66252,
    [3] => 
    [sender_id] => 
    [4] => Shital Jadhav 12 Voice call.mp3
    [filename] => Shital Jadhav 12 Voice call.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484627
    [start_date] => 1764484627
    [9] => 0
    [end_date] => 0
    [10] => 1187
    [total_sms] => 1187
    [11] => 1187
    [sent_sms] => 1187
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 108
    [busy_sms] => 108
    [15] => 0
    [congestion_sms] => 0
    [16] => 337
    [failed_sms] => 337
    [17] => 0
    [hangup_sms] => 0
    [18] => 104
    [no_answer_sms] => 104
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 553
    [cutting_sms] => 553
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 108
    [user_busy_sms] => 108
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 337
    [user_failed_sms] => 337
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 104
    [user_no_answer_sms] => 104
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29688
    [created_by] => u29688
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484627
    [create_date] => 1764484627
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484634,"compaign_read_start_time":1764484640,"compaign_read_complete_time":1764484643,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [action_time] => {"api_allot_time":1764484634,"compaign_read_start_time":1764484640,"compaign_read_complete_time":1764484643,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [50] => 0
    [compaign_file] => 0
    [51] => u29688_78671_30112025_120712PM_685
    [common_name] => u29688_78671_30112025_120712PM_685
    [52] => 1764483544_u29688_voice.wav
    [voice_file] => 1764483544_u29688_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66252
    [temp_group_table] => contacts_temp_group_66252
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484921
    [last_credit_update_time] => 1764484921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1895
    [user_voice_plan_id] => 1895
    [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,sr309,u29688
    [uphierarchy] => admin,sr53,sr78,sr309,u29688
    [113] => 
    [extra_params_json] => 
)


Compaign : 78671
\compaign_type : Rans per 25.66902 
ans sms 1187
dnd sms 0

require answer perrequire answer per : 305

user answer per : 85
below is the redis data 220 UPDATE voice_compaign_detail_78671 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 220 Total Failed : 333 no_answer_count : 112 Busy count :86 congestion_count : 40 failed_count : 95UPDATE voice_compaign_detail_78671 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 112 UPDATE voice_compaign_detail_78671 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_78671 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_78671 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='305', `user_busy_sms`='194', `user_congestion_sms`='40', `user_failed_sms`='432', `user_hangup_sms`='0', `user_no_answer_sms`='216', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78671 LIMIT 1 


Time Diff : 0.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>'1764225842'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.60614 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.59589 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.85974 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 49
    [credit_seq] => 49
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764484804
    [last_credit_update_time] => 1764484804
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.00961 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.33193 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.84142 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.21974 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.95625 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764225962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.12892 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.53888 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.14349 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.66477 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.20392 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.79372 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.0444 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.15992 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78672
    [compaign_id] => 78672
    [1] => u29663
    [user_id] => u29663
    [2] => 66256,
    [group_ids] => 66256,
    [3] => 
    [sender_id] => 
    [4] => ujjwala voice 30sec.mp3
    [filename] => ujjwala voice 30sec.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484628
    [start_date] => 1764484628
    [9] => 0
    [end_date] => 0
    [10] => 1431
    [total_sms] => 1431
    [11] => 1431
    [sent_sms] => 1431
    [12] => 0
    [duplicate_sms] => 0
    [13] => 202
    [answered_sms] => 202
    [14] => 179
    [busy_sms] => 179
    [15] => 2
    [congestion_sms] => 2
    [16] => 122
    [failed_sms] => 122
    [17] => 0
    [hangup_sms] => 0
    [18] => 262
    [no_answer_sms] => 262
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 664
    [cutting_sms] => 664
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 202
    [user_answered_sms] => 202
    [27] => 179
    [user_busy_sms] => 179
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 122
    [user_failed_sms] => 122
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 262
    [user_no_answer_sms] => 262
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29663
    [created_by] => u29663
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484628
    [create_date] => 1764484628
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484639,"compaign_read_start_time":1764484643,"compaign_read_complete_time":1764484646,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [action_time] => {"api_allot_time":1764484639,"compaign_read_start_time":1764484643,"compaign_read_complete_time":1764484646,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484686}
    [50] => 0
    [compaign_file] => 0
    [51] => u29663_78672_30112025_120714PM_399
    [common_name] => u29663_78672_30112025_120714PM_399
    [52] => 1764399266_u29663_voice.wav
    [voice_file] => 1764399266_u29663_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66256
    [temp_group_table] => contacts_temp_group_66256
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485162
    [last_credit_update_time] => 1764485162
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1888
    [user_voice_plan_id] => 1888
    [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,sr309,u29663
    [uphierarchy] => admin,sr53,sr78,sr309,u29663
    [113] => 
    [extra_params_json] => 
)


Compaign : 78672
\compaign_type : Rans per 29.7808 
ans sms 1431
dnd sms 0

require answer perrequire answer per : 427

user answer per : 202
below is the redis data 225 UPDATE voice_compaign_detail_78672 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 225 Total Failed : 440 no_answer_count : 147 Busy count :113 congestion_count : 53 failed_count : 127UPDATE voice_compaign_detail_78672 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 147 UPDATE voice_compaign_detail_78672 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 113 UPDATE voice_compaign_detail_78672 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_78672 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 127 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='427', `user_busy_sms`='292', `user_congestion_sms`='54', `user_failed_sms`='249', `user_hangup_sms`='0', `user_no_answer_sms`='409', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78672 LIMIT 1 


Time Diff : 0.358

Array
(
    [0] => 78673
    [compaign_id] => 78673
    [1] => u29687
    [user_id] => u29687
    [2] => 66258,
    [group_ids] => 66258,
    [3] => 
    [sender_id] => 
    [4] => Anil Walmik Chaudhari Voice Call .mp3
    [filename] => Anil Walmik Chaudhari Voice Call .mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484629
    [start_date] => 1764484629
    [9] => 0
    [end_date] => 0
    [10] => 1634
    [total_sms] => 1634
    [11] => 1634
    [sent_sms] => 1634
    [12] => 0
    [duplicate_sms] => 0
    [13] => 145
    [answered_sms] => 145
    [14] => 136
    [busy_sms] => 136
    [15] => 0
    [congestion_sms] => 0
    [16] => 428
    [failed_sms] => 428
    [17] => 0
    [hangup_sms] => 0
    [18] => 175
    [no_answer_sms] => 175
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 750
    [cutting_sms] => 750
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 145
    [user_answered_sms] => 145
    [27] => 136
    [user_busy_sms] => 136
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 428
    [user_failed_sms] => 428
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 175
    [user_no_answer_sms] => 175
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29687
    [created_by] => u29687
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484629
    [create_date] => 1764484629
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484637,"compaign_read_start_time":1764484646,"compaign_read_complete_time":1764484649,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484687}
    [action_time] => {"api_allot_time":1764484637,"compaign_read_start_time":1764484646,"compaign_read_complete_time":1764484649,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484687}
    [50] => 0
    [compaign_file] => 0
    [51] => u29687_78673_30112025_120714PM_980
    [common_name] => u29687_78673_30112025_120714PM_980
    [52] => 1764482765_u29687_voice.wav
    [voice_file] => 1764482765_u29687_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66258
    [temp_group_table] => contacts_temp_group_66258
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485162
    [last_credit_update_time] => 1764485162
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1894
    [user_voice_plan_id] => 1894
    [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,sr309,u29687
    [uphierarchy] => admin,sr53,sr78,sr309,u29687
    [113] => 
    [extra_params_json] => 
)


Compaign : 78673
\compaign_type : Rans per 27.3103 
ans sms 1634
dnd sms 0

require answer perrequire answer per : 447

user answer per : 145
below is the redis data 302 UPDATE voice_compaign_detail_78673 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 302 Total Failed : 448 no_answer_count : 150 Busy count :115 congestion_count : 54 failed_count : 129UPDATE voice_compaign_detail_78673 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 UPDATE voice_compaign_detail_78673 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_78673 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_78673 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`='447', `user_busy_sms`='251', `user_congestion_sms`='54', `user_failed_sms`='557', `user_hangup_sms`='0', `user_no_answer_sms`='325', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78673 LIMIT 1 


Time Diff : 0.315

Array
(
    [0] => 78674
    [compaign_id] => 78674
    [1] => u29660
    [user_id] => u29660
    [2] => 66255,
    [group_ids] => 66255,
    [3] => 
    [sender_id] => 
    [4] => Nitin Patil Voice Call .mp3
    [filename] => Nitin Patil Voice Call .mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484640
    [start_date] => 1764484640
    [9] => 0
    [end_date] => 0
    [10] => 2062
    [total_sms] => 2062
    [11] => 2062
    [sent_sms] => 2062
    [12] => 0
    [duplicate_sms] => 0
    [13] => 185
    [answered_sms] => 185
    [14] => 225
    [busy_sms] => 225
    [15] => 0
    [congestion_sms] => 0
    [16] => 321
    [failed_sms] => 321
    [17] => 0
    [hangup_sms] => 0
    [18] => 276
    [no_answer_sms] => 276
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1055
    [cutting_sms] => 1055
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 185
    [user_answered_sms] => 185
    [27] => 225
    [user_busy_sms] => 225
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 321
    [user_failed_sms] => 321
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 276
    [user_no_answer_sms] => 276
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29660
    [created_by] => u29660
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484640
    [create_date] => 1764484640
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484648,"compaign_read_start_time":1764484649,"compaign_read_complete_time":1764484654,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484687}
    [action_time] => {"api_allot_time":1764484648,"compaign_read_start_time":1764484649,"compaign_read_complete_time":1764484654,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484687}
    [50] => 0
    [compaign_file] => 0
    [51] => u29660_78674_30112025_120726PM_775
    [common_name] => u29660_78674_30112025_120726PM_775
    [52] => 1764233165_u29660_voice.wav
    [voice_file] => 1764233165_u29660_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66255
    [temp_group_table] => contacts_temp_group_66255
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485162
    [last_credit_update_time] => 1764485162
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1869
    [user_voice_plan_id] => 1869
    [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,sr309,u29660
    [uphierarchy] => admin,sr53,sr78,sr309,u29660
    [113] => 
    [extra_params_json] => 
)


Compaign : 78674
\compaign_type : Rans per 30.77673 
ans sms 2062
dnd sms 0

require answer perrequire answer per : 635

user answer per : 185
below is the redis data 450 UPDATE voice_compaign_detail_78674 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 450 Total Failed : 605 no_answer_count : 202 Busy count :156 congestion_count : 72 failed_count : 175UPDATE voice_compaign_detail_78674 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 202 UPDATE voice_compaign_detail_78674 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 156 UPDATE voice_compaign_detail_78674 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_78674 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 175 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='635', `user_busy_sms`='381', `user_congestion_sms`='72', `user_failed_sms`='496', `user_hangup_sms`='0', `user_no_answer_sms`='478', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78674 LIMIT 1 


Time Diff : 0.249

Array
(
    [0] => 78675
    [compaign_id] => 78675
    [1] => sr170
    [user_id] => sr170
    [2] => 66253,
    [group_ids] => 66253,
    [3] => 
    [sender_id] => 
    [4] => tavar.mp3
    [filename] => tavar.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484648
    [start_date] => 1764484648
    [9] => 0
    [end_date] => 0
    [10] => 3678
    [total_sms] => 3678
    [11] => 3678
    [sent_sms] => 3678
    [12] => 0
    [duplicate_sms] => 0
    [13] => 83
    [answered_sms] => 83
    [14] => 39
    [busy_sms] => 39
    [15] => 0
    [congestion_sms] => 0
    [16] => 1777
    [failed_sms] => 1777
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1715
    [cutting_sms] => 1715
    [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] => 39
    [user_busy_sms] => 39
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1777
    [user_failed_sms] => 1777
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484648
    [create_date] => 1764484648
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484657,"compaign_read_start_time":1764484658,"compaign_read_complete_time":1764484663,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484692}
    [action_time] => {"api_allot_time":1764484657,"compaign_read_start_time":1764484658,"compaign_read_complete_time":1764484663,"compaign_send_start_time":1764484682,"compaign_send_complete_time":1764484692}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78675_30112025_120734PM_697
    [common_name] => sr170_78675_30112025_120734PM_697
    [52] => 1764418798_sr170_voice.wav
    [voice_file] => 1764418798_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66253
    [temp_group_table] => contacts_temp_group_66253
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485162
    [last_credit_update_time] => 1764485162
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78675
\compaign_type : Rans per 25.99187 
ans sms 3678
dnd sms 0

require answer perrequire answer per : 956

user answer per : 83
below is the redis data 873 /n/r
only no answer and busy will be convert, total number require 873 /n/r
UPDATE voice_compaign_detail_78675 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 699 UPDATE voice_compaign_detail_78675 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 699 Total Failed : 1005 no_answer_count : 336 Busy count :258 congestion_count : 120 failed_count : 291UPDATE voice_compaign_detail_78675 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 336 UPDATE voice_compaign_detail_78675 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 258 UPDATE voice_compaign_detail_78675 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 120 UPDATE voice_compaign_detail_78675 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 291 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='186', `user_busy_sms`='957', `user_congestion_sms`='120', `user_failed_sms`='1380', `user_hangup_sms`='0', `user_no_answer_sms`='1035', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78675 LIMIT 1 


Time Diff : 0.133

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.75032 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.64413 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.39446 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485042
    [last_credit_update_time] => 1764485042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.52842 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.06027 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.85042 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.38101 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.12305 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78682
    [compaign_id] => 78682
    [1] => u20720
    [user_id] => u20720
    [2] => 66263,
    [group_ids] => 66263,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-11-29 at 14.26.38 (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-11-29 at 14.26.38 (online-audio-converter.com).mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484967
    [start_date] => 1764484967
    [9] => 0
    [end_date] => 0
    [10] => 1096
    [total_sms] => 1096
    [11] => 1096
    [sent_sms] => 1096
    [12] => 0
    [duplicate_sms] => 0
    [13] => 173
    [answered_sms] => 173
    [14] => 89
    [busy_sms] => 89
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 135
    [no_answer_sms] => 135
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 370
    [cutting_sms] => 370
    [22] => 266
    [dnd_sms] => 266
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 173
    [user_answered_sms] => 173
    [27] => 89
    [user_busy_sms] => 89
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [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] => 266
    [user_dnd_sms] => 266
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484966
    [create_date] => 1764484966
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484985,"compaign_read_start_time":1764484987,"compaign_read_complete_time":1764484990,"compaign_send_start_time":1764485042,"compaign_send_complete_time":1764485045}
    [action_time] => {"api_allot_time":1764484985,"compaign_read_start_time":1764484987,"compaign_read_complete_time":1764484990,"compaign_send_start_time":1764485042,"compaign_send_complete_time":1764485045}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78682_30112025_121302PM_928
    [common_name] => u20720_78682_30112025_121302PM_928
    [52] => 1764411508_u20720_voice.wav
    [voice_file] => 1764411508_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66263
    [temp_group_table] => contacts_temp_group_66263
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485282
    [last_credit_update_time] => 1764485282
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78682
\compaign_type : Rans per 26.51313 
ans sms 1096
dnd sms 266

require answer perrequire answer per : 221

user answer per : 173
below is the redis data 48 UPDATE voice_compaign_detail_78682 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 48 Total Failed : 322 no_answer_count : 108 Busy count :83 congestion_count : 39 failed_count : 92UPDATE voice_compaign_detail_78682 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_78682 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_78682 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_78682 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='221', `user_busy_sms`='172', `user_congestion_sms`='39', `user_failed_sms`='155', `user_hangup_sms`='0', `user_no_answer_sms`='243', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='266' WHERE `compaign_id`=78682 LIMIT 1 


Time Diff : 0.25

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226202'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.34263 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.87969 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.74327 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.31007 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78686
    [compaign_id] => 78686
    [1] => u20720
    [user_id] => u20720
    [2] => 66265,
    [group_ids] => 66265,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485114
    [start_date] => 1764485114
    [9] => 0
    [end_date] => 0
    [10] => 6226
    [total_sms] => 6226
    [11] => 6226
    [sent_sms] => 6226
    [12] => 0
    [duplicate_sms] => 0
    [13] => 106
    [answered_sms] => 106
    [14] => 330
    [busy_sms] => 330
    [15] => 1
    [congestion_sms] => 1
    [16] => 766
    [failed_sms] => 766
    [17] => 0
    [hangup_sms] => 0
    [18] => 262
    [no_answer_sms] => 262
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1417
    [cutting_sms] => 1417
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 106
    [user_answered_sms] => 106
    [27] => 330
    [user_busy_sms] => 330
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 766
    [user_failed_sms] => 766
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 262
    [user_no_answer_sms] => 262
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764485111
    [create_date] => 1764485111
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485123,"compaign_read_start_time":1764485125,"compaign_read_complete_time":1764485141,"compaign_send_start_time":1764485162,"compaign_send_complete_time":1764485170}
    [action_time] => {"api_allot_time":1764485123,"compaign_read_start_time":1764485125,"compaign_read_complete_time":1764485141,"compaign_send_start_time":1764485162,"compaign_send_complete_time":1764485170}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78686_30112025_121519PM_486
    [common_name] => u20720_78686_30112025_121519PM_486
    [52] => 1764485111_u20720_voice.wav
    [voice_file] => 1764485111_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66265
    [temp_group_table] => contacts_temp_group_66265
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485402
    [last_credit_update_time] => 1764485402
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78686
\compaign_type : Rans per 28.14733 
ans sms 6226
dnd sms 3344

require answer perrequire answer per : 812

user answer per : 106
below is the redis data 706 UPDATE voice_compaign_detail_78686 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 706 Total Failed : 712 no_answer_count : 238 Busy count :183 congestion_count : 85 failed_count : 206UPDATE voice_compaign_detail_78686 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 238 UPDATE voice_compaign_detail_78686 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 183 UPDATE voice_compaign_detail_78686 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_78686 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 206 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='812', `user_busy_sms`='513', `user_congestion_sms`='85', `user_failed_sms`='972', `user_hangup_sms`='0', `user_no_answer_sms`='500', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78686 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>'1764226261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.89557 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.46257 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.89752 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.79851 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226321'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.24053 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.83484 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.59742 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764485285
    [last_credit_update_time] => 1764485285
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.39249 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.55341 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.17488 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.76246 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.72209 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78683
    [compaign_id] => 78683
    [1] => u29676
    [user_id] => u29676
    [2] => 66261,
    [group_ids] => 66261,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484969
    [start_date] => 1764484969
    [9] => 0
    [end_date] => 0
    [10] => 8049
    [total_sms] => 8049
    [11] => 8049
    [sent_sms] => 8049
    [12] => 0
    [duplicate_sms] => 0
    [13] => 855
    [answered_sms] => 855
    [14] => 495
    [busy_sms] => 495
    [15] => 1
    [congestion_sms] => 1
    [16] => 856
    [failed_sms] => 856
    [17] => 0
    [hangup_sms] => 0
    [18] => 876
    [no_answer_sms] => 876
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3020
    [cutting_sms] => 3020
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 855
    [user_answered_sms] => 855
    [27] => 495
    [user_busy_sms] => 495
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 856
    [user_failed_sms] => 856
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 876
    [user_no_answer_sms] => 876
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484969
    [create_date] => 1764484969
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484985,"compaign_read_start_time":1764484990,"compaign_read_complete_time":1764485012,"compaign_send_start_time":1764485042,"compaign_send_complete_time":1764485064}
    [action_time] => {"api_allot_time":1764484985,"compaign_read_start_time":1764484990,"compaign_read_complete_time":1764485012,"compaign_send_start_time":1764485042,"compaign_send_complete_time":1764485064}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78683_30112025_121302PM_708
    [common_name] => u29676_78683_30112025_121302PM_708
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66261
    [temp_group_table] => contacts_temp_group_66261
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78683
\compaign_type : Rans per 28.49824 
ans sms 8049
dnd sms 1946

require answer perrequire answer per : 1740

user answer per : 855
below is the redis data 885 UPDATE voice_compaign_detail_78683 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 885 Total Failed : 2136 no_answer_count : 713 Busy count :549 congestion_count : 254 failed_count : 620UPDATE voice_compaign_detail_78683 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 713 UPDATE voice_compaign_detail_78683 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 549 UPDATE voice_compaign_detail_78683 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 254 UPDATE voice_compaign_detail_78683 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 620 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1740', `user_busy_sms`='1044', `user_congestion_sms`='254', `user_failed_sms`='1476', `user_hangup_sms`='0', `user_no_answer_sms`='1589', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78683 LIMIT 1 


Time Diff : 0.064

Array
(
    [0] => 78684
    [compaign_id] => 78684
    [1] => u29676
    [user_id] => u29676
    [2] => 66264,
    [group_ids] => 66264,
    [3] => 
    [sender_id] => 
    [4] => prabhag1wani.wav
    [filename] => prabhag1wani.wav
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485025
    [start_date] => 1764485025
    [9] => 0
    [end_date] => 0
    [10] => 703
    [total_sms] => 703
    [11] => 703
    [sent_sms] => 703
    [12] => 0
    [duplicate_sms] => 0
    [13] => 86
    [answered_sms] => 86
    [14] => 51
    [busy_sms] => 51
    [15] => 1
    [congestion_sms] => 1
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 103
    [no_answer_sms] => 103
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 222
    [cutting_sms] => 222
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 86
    [user_answered_sms] => 86
    [27] => 51
    [user_busy_sms] => 51
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 68
    [user_failed_sms] => 68
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 103
    [user_no_answer_sms] => 103
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764485024
    [create_date] => 1764485024
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485046,"compaign_read_start_time":1764485048,"compaign_read_complete_time":1764485049,"compaign_send_start_time":1764485101,"compaign_send_complete_time":1764485107}
    [action_time] => {"api_allot_time":1764485046,"compaign_read_start_time":1764485048,"compaign_read_complete_time":1764485049,"compaign_send_start_time":1764485101,"compaign_send_complete_time":1764485107}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78684_30112025_121402PM_273
    [common_name] => u29676_78684_30112025_121402PM_273
    [52] => 1764485024_u29676_voice.wav
    [voice_file] => 1764485024_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66264
    [temp_group_table] => contacts_temp_group_66264
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78684
\compaign_type : Rans per 26.52162 
ans sms 703
dnd sms 172

require answer perrequire answer per : 141

user answer per : 86
below is the redis data 55 UPDATE voice_compaign_detail_78684 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 55 Total Failed : 168 no_answer_count : 57 Busy count :44 congestion_count : 20 failed_count : 47UPDATE voice_compaign_detail_78684 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_78684 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_78684 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78684 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`='141', `user_busy_sms`='95', `user_congestion_sms`='20', `user_failed_sms`='115', `user_hangup_sms`='0', `user_no_answer_sms`='160', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78684 LIMIT 1 


Time Diff : 0.475

Array
(
    [0] => 78687
    [compaign_id] => 78687
    [1] => u29689
    [user_id] => u29689
    [2] => 66267,
    [group_ids] => 66267,
    [3] => 
    [sender_id] => 
    [4] => zelabai voice call.mp3
    [filename] => zelabai voice call.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485222
    [start_date] => 1764485222
    [9] => 0
    [end_date] => 0
    [10] => 1728
    [total_sms] => 1728
    [11] => 1728
    [sent_sms] => 1728
    [12] => 0
    [duplicate_sms] => 0
    [13] => 228
    [answered_sms] => 228
    [14] => 133
    [busy_sms] => 133
    [15] => 0
    [congestion_sms] => 0
    [16] => 76
    [failed_sms] => 76
    [17] => 0
    [hangup_sms] => 0
    [18] => 230
    [no_answer_sms] => 230
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 670
    [cutting_sms] => 670
    [22] => 391
    [dnd_sms] => 391
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 228
    [user_answered_sms] => 228
    [27] => 133
    [user_busy_sms] => 133
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 76
    [user_failed_sms] => 76
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 230
    [user_no_answer_sms] => 230
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 391
    [user_dnd_sms] => 391
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29689
    [created_by] => u29689
    [38] => 0
    [isScheduled] => 0
    [39] => 1764485221
    [create_date] => 1764485221
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485232,"compaign_read_start_time":1764485234,"compaign_read_complete_time":1764485237,"compaign_send_start_time":1764485281,"compaign_send_complete_time":1764485293}
    [action_time] => {"api_allot_time":1764485232,"compaign_read_start_time":1764485234,"compaign_read_complete_time":1764485237,"compaign_send_start_time":1764485281,"compaign_send_complete_time":1764485293}
    [50] => 0
    [compaign_file] => 0
    [51] => u29689_78687_30112025_121708PM_227
    [common_name] => u29689_78687_30112025_121708PM_227
    [52] => 1764485221_u29689_voice.wav
    [voice_file] => 1764485221_u29689_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66267
    [temp_group_table] => contacts_temp_group_66267
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1896
    [user_voice_plan_id] => 1896
    [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,sr309,u29689
    [uphierarchy] => admin,sr53,sr78,sr309,u29689
    [113] => 
    [extra_params_json] => 
)


Compaign : 78687
\compaign_type : Rans per 25.1727 
ans sms 1728
dnd sms 391

require answer perrequire answer per : 337

user answer per : 228
below is the redis data 109 UPDATE voice_compaign_detail_78687 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 109 Total Failed : 561 no_answer_count : 188 Busy count :144 congestion_count : 67 failed_count : 162UPDATE voice_compaign_detail_78687 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_78687 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 144 UPDATE voice_compaign_detail_78687 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_78687 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 162 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='337', `user_busy_sms`='277', `user_congestion_sms`='67', `user_failed_sms`='238', `user_hangup_sms`='0', `user_no_answer_sms`='418', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='391' WHERE `compaign_id`=78687 LIMIT 1 


Time Diff : 0.104

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.73953 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.33823 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.83812 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.16509 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.38249 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.86666 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.83642 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.32104 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78678
    [compaign_id] => 78678
    [1] => u29654
    [user_id] => u29654
    [2] => 66259,
    [group_ids] => 66259,
    [3] => 
    [sender_id] => 
    [4] => Karmala-Samarth140.wav
    [filename] => Karmala-Samarth140.wav
    [5] => 50
    [duration] => 50
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485100
    [start_date] => 1764485100
    [9] => 0
    [end_date] => 0
    [10] => 369
    [total_sms] => 369
    [11] => 369
    [sent_sms] => 369
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 70
    [failed_sms] => 70
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 83
    [cutting_sms] => 83
    [22] => 128
    [dnd_sms] => 128
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 70
    [user_failed_sms] => 70
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 35
    [user_no_answer_sms] => 35
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 128
    [user_dnd_sms] => 128
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 1
    [isScheduled] => 1
    [39] => 1764484923
    [create_date] => 1764484923
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485109,"compaign_read_start_time":1764485110,"compaign_read_complete_time":1764485111,"compaign_send_start_time":1764485162,"compaign_send_complete_time":1764485163}
    [action_time] => {"api_allot_time":1764485109,"compaign_read_start_time":1764485110,"compaign_read_complete_time":1764485111,"compaign_send_start_time":1764485162,"compaign_send_complete_time":1764485163}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_78678_30112025_121505PM_800
    [common_name] => u29654_78678_30112025_121505PM_800
    [52] => 1764331749_u29654_voice.wav
    [voice_file] => 1764331749_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66259
    [temp_group_table] => contacts_temp_group_66259
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764485641
    [last_credit_update_time] => 1764485641
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 15
    [dtmf_wait_time] => 15
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 78678
\compaign_type : Rans per 25.75833 
ans sms 369
dnd sms 128

require answer perrequire answer per : 63

user answer per : 25
below is the redis data 38 UPDATE voice_compaign_detail_78678 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 38 Total Failed : 45 no_answer_count : 16 Busy count :12 congestion_count : 6 failed_count : 11UPDATE voice_compaign_detail_78678 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78678 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78678 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78678 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='63', `user_busy_sms`='40', `user_congestion_sms`='6', `user_failed_sms`='81', `user_hangup_sms`='0', `user_no_answer_sms`='51', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='128' WHERE `compaign_id`=78678 LIMIT 1 


Time Diff : 1.122

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.7445 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.39245 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.08779 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 52
    [credit_seq] => 52
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485522
    [last_credit_update_time] => 1764485522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.64219 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.15354 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.32693 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.99942 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.56234 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.79304 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.27126 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.22028 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.73438 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78689
    [compaign_id] => 78689
    [1] => u29673
    [user_id] => u29673
    [2] => 66268,
    [group_ids] => 66268,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485524
    [start_date] => 1764485524
    [9] => 0
    [end_date] => 0
    [10] => 416
    [total_sms] => 416
    [11] => 416
    [sent_sms] => 416
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 96
    [cutting_sms] => 96
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764485524
    [create_date] => 1764485524
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485536,"compaign_read_start_time":1764485537,"compaign_read_complete_time":1764485538,"compaign_send_start_time":1764485581,"compaign_send_complete_time":1764485582}
    [action_time] => {"api_allot_time":1764485536,"compaign_read_start_time":1764485537,"compaign_read_complete_time":1764485538,"compaign_send_start_time":1764485581,"compaign_send_complete_time":1764485582}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78689_30112025_122210PM_797
    [common_name] => u29673_78689_30112025_122210PM_797
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66268
    [temp_group_table] => contacts_temp_group_66268
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485822
    [last_credit_update_time] => 1764485822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78689
\compaign_type : Rans per 26.44621 
ans sms 416
dnd sms 185

require answer perrequire answer per : 62

user answer per : 18
below is the redis data 44 UPDATE voice_compaign_detail_78689 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 44 Total Failed : 52 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 13UPDATE voice_compaign_detail_78689 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78689 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_78689 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78689 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='62', `user_busy_sms`='60', `user_congestion_sms`='7', `user_failed_sms`='50', `user_hangup_sms`='0', `user_no_answer_sms`='52', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78689 LIMIT 1 


Time Diff : 0.656

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.73125 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.88621 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.69196 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.08735 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78691
    [compaign_id] => 78691
    [1] => u20720
    [user_id] => u20720
    [2] => 66270,
    [group_ids] => 66270,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764485673
    [start_date] => 1764485673
    [9] => 0
    [end_date] => 0
    [10] => 5414
    [total_sms] => 5414
    [11] => 5414
    [sent_sms] => 5414
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 265
    [busy_sms] => 265
    [15] => 0
    [congestion_sms] => 0
    [16] => 584
    [failed_sms] => 584
    [17] => 0
    [hangup_sms] => 0
    [18] => 177
    [no_answer_sms] => 177
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 992
    [cutting_sms] => 992
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764485671
    [create_date] => 1764485671
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764485683,"compaign_read_start_time":1764485683,"compaign_read_complete_time":1764485696,"compaign_send_start_time":1764485701,"compaign_send_complete_time":1764485707}
    [action_time] => {"api_allot_time":1764485683,"compaign_read_start_time":1764485683,"compaign_read_complete_time":1764485696,"compaign_send_start_time":1764485701,"compaign_send_complete_time":1764485707}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78691_30112025_122439PM_992
    [common_name] => u20720_78691_30112025_122439PM_992
    [52] => 1764485671_u20720_voice.wav
    [voice_file] => 1764485671_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66270
    [temp_group_table] => contacts_temp_group_66270
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485941
    [last_credit_update_time] => 1764485941
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78691
\compaign_type : Rans per 25.99002 
ans sms 5414
dnd sms 3344

require answer perrequire answer per : 538

user answer per : 52
below is the redis data 486 UPDATE voice_compaign_detail_78691 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 486 Total Failed : 506 no_answer_count : 169 Busy count :130 congestion_count : 61 failed_count : 146UPDATE voice_compaign_detail_78691 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 169 UPDATE voice_compaign_detail_78691 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_78691 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_78691 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 146 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='538', `user_busy_sms`='395', `user_congestion_sms`='61', `user_failed_sms`='730', `user_hangup_sms`='0', `user_no_answer_sms`='346', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78691 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>'1764226801'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.42875 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.61057 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 53
    [credit_seq] => 53
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764485764
    [last_credit_update_time] => 1764485764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.93411 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.38886 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.7361 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.34018 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226922'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.21677 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.83541 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.1253 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764226981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.63298 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.36034 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.00804 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.77654 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.27764 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 54
    [credit_seq] => 54
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486001
    [last_credit_update_time] => 1764486001
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.16105 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08536 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.14093 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.3285 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78664
    [compaign_id] => 78664
    [1] => sr170
    [user_id] => sr170
    [2] => 66247,
    [group_ids] => 66247,
    [3] => 
    [sender_id] => 
    [4] => p deshmukh.mp3
    [filename] => p deshmukh.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484347
    [start_date] => 1764484347
    [9] => 0
    [end_date] => 0
    [10] => 3660
    [total_sms] => 3660
    [11] => 3660
    [sent_sms] => 3660
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 38
    [busy_sms] => 38
    [15] => 0
    [congestion_sms] => 0
    [16] => 1718
    [failed_sms] => 1718
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1778
    [cutting_sms] => 1778
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 38
    [user_busy_sms] => 38
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1718
    [user_failed_sms] => 1718
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484347
    [create_date] => 1764484347
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484355,"compaign_read_start_time":1764484360,"compaign_read_complete_time":1764484369,"compaign_send_start_time":1764484381,"compaign_send_complete_time":1764484394}
    [action_time] => {"api_allot_time":1764484355,"compaign_read_start_time":1764484360,"compaign_read_complete_time":1764484369,"compaign_send_start_time":1764484381,"compaign_send_complete_time":1764484394}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78664_30112025_120233PM_533
    [common_name] => sr170_78664_30112025_120233PM_533
    [52] => 1764408329_sr170_voice.wav
    [voice_file] => 1764408329_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66247
    [temp_group_table] => contacts_temp_group_66247
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78664
\compaign_type : Rans per 27.00315 
ans sms 3660
dnd sms 0

require answer perrequire answer per : 989

user answer per : 62
below is the redis data 927 /n/r
only no answer and busy will be convert, total number require 927 /n/r
UPDATE voice_compaign_detail_78664 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 686 UPDATE voice_compaign_detail_78664 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 686 Total Failed : 1084 no_answer_count : 362 Busy count :279 congestion_count : 129 failed_count : 314UPDATE voice_compaign_detail_78664 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 362 UPDATE voice_compaign_detail_78664 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 279 UPDATE voice_compaign_detail_78664 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_78664 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 314 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='164', `user_busy_sms`='965', `user_congestion_sms`='129', `user_failed_sms`='1354', `user_hangup_sms`='0', `user_no_answer_sms`='1048', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78664 LIMIT 1 


Time Diff : 0.517

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.55845 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.70387 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.17245 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.0066 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.60794 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.70243 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78696
    [compaign_id] => 78696
    [1] => u122
    [user_id] => u122
    [2] => 66274,
    [group_ids] => 66274,
    [3] => 
    [sender_id] => 
    [4] => YogeshKo_BWyonove28.mp3
    [filename] => YogeshKo_BWyonove28.mp3
    [5] => 20
    [duration] => 20
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764486078
    [start_date] => 1764486078
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 24
    [cutting_sms] => 24
    [22] => 39
    [dnd_sms] => 39
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [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] => 39
    [user_dnd_sms] => 39
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486078
    [create_date] => 1764486078
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486086,"compaign_read_start_time":1764486088,"compaign_read_complete_time":1764486089,"compaign_send_start_time":1764486122,"compaign_send_complete_time":1764486123}
    [action_time] => {"api_allot_time":1764486086,"compaign_read_start_time":1764486088,"compaign_read_complete_time":1764486089,"compaign_send_start_time":1764486122,"compaign_send_complete_time":1764486123}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78696_30112025_123124PM_833
    [common_name] => u122_78696_30112025_123124PM_833
    [52] => api_1764331535_u122_voice_302.wav
    [voice_file] => api_1764331535_u122_voice_302.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66274
    [temp_group_table] => contacts_temp_group_66274
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486362
    [last_credit_update_time] => 1764486362
    [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 : 78696
\compaign_type : Rans per 25.80408 
ans sms 169
dnd sms 39

require answer perrequire answer per : 34

user answer per : 35
Total Failed : 24 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_78696 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78696 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78696 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78696 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`='35', `user_busy_sms`='32', `user_congestion_sms`='3', `user_failed_sms`='21', `user_hangup_sms`='0', `user_no_answer_sms`='39', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='39' WHERE `compaign_id`=78696 LIMIT 1 


Time Diff : 1.473

Array
(
    [0] => 78699
    [compaign_id] => 78699
    [1] => u29676
    [user_id] => u29676
    [2] => 66276,
    [group_ids] => 66276,
    [3] => 
    [sender_id] => 
    [4] => prabhag1wani.wav
    [filename] => prabhag1wani.wav
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486125
    [start_date] => 1764486125
    [9] => 0
    [end_date] => 0
    [10] => 562
    [total_sms] => 562
    [11] => 562
    [sent_sms] => 562
    [12] => 0
    [duplicate_sms] => 0
    [13] => 43
    [answered_sms] => 43
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 75
    [no_answer_sms] => 75
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 164
    [cutting_sms] => 164
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 43
    [user_answered_sms] => 43
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 75
    [user_no_answer_sms] => 75
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486125
    [create_date] => 1764486125
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486133,"compaign_read_start_time":1764486137,"compaign_read_complete_time":1764486138,"compaign_send_start_time":1764486182,"compaign_send_complete_time":1764486183}
    [action_time] => {"api_allot_time":1764486133,"compaign_read_start_time":1764486137,"compaign_read_complete_time":1764486138,"compaign_send_start_time":1764486182,"compaign_send_complete_time":1764486183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78699_30112025_123210PM_163
    [common_name] => u29676_78699_30112025_123210PM_163
    [52] => 1764485024_u29676_voice.wav
    [voice_file] => 1764485024_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66276
    [temp_group_table] => contacts_temp_group_66276
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486362
    [last_credit_update_time] => 1764486362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78699
\compaign_type : Rans per 26.18278 
ans sms 562
dnd sms 172

require answer perrequire answer per : 103

user answer per : 43
below is the redis data 60 UPDATE voice_compaign_detail_78699 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 60 Total Failed : 104 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 29UPDATE voice_compaign_detail_78699 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_78699 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78699 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_78699 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`='103', `user_busy_sms`='72', `user_congestion_sms`='13', `user_failed_sms`='92', `user_hangup_sms`='0', `user_no_answer_sms`='110', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78699 LIMIT 1 


Time Diff : 0.379

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.77132 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.1532 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 55
    [credit_seq] => 55
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486242
    [last_credit_update_time] => 1764486242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.63407 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227342'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.51099 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.9074 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.54861 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78700
    [compaign_id] => 78700
    [1] => u122
    [user_id] => u122
    [2] => 66279,
    [group_ids] => 66279,
    [3] => 
    [sender_id] => 
    [4] => Lucky_AGlunove29.mp3
    [filename] => Lucky_AGlunove29.mp3
    [5] => 29
    [duration] => 29
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764486181
    [start_date] => 1764486181
    [9] => 0
    [end_date] => 0
    [10] => 141
    [total_sms] => 141
    [11] => 141
    [sent_sms] => 141
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 18
    [cutting_sms] => 18
    [22] => 37
    [dnd_sms] => 37
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [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] => 37
    [user_dnd_sms] => 37
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486181
    [create_date] => 1764486181
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486190,"compaign_read_start_time":1764486193,"compaign_read_complete_time":1764486194,"compaign_send_start_time":1764486242,"compaign_send_complete_time":1764486243}
    [action_time] => {"api_allot_time":1764486190,"compaign_read_start_time":1764486193,"compaign_read_complete_time":1764486194,"compaign_send_start_time":1764486242,"compaign_send_complete_time":1764486243}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78700_30112025_123307PM_805
    [common_name] => u122_78700_30112025_123307PM_805
    [52] => api_1764393960_u122_voice_605.wav
    [voice_file] => api_1764393960_u122_voice_605.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66279
    [temp_group_table] => contacts_temp_group_66279
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [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 : 78700
\compaign_type : Rans per 26.40559 
ans sms 141
dnd sms 37

require answer perrequire answer per : 28

user answer per : 17
below is the redis data 11 /n/r
only no answer and busy will be convert, total number require 11 /n/r
UPDATE voice_compaign_detail_78700 SET user_report='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_78700 SET user_report='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 : 8 no_answer_count : 3 Busy count :3 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_78700 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78700 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78700 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_78700 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='28', `user_busy_sms`='35', `user_congestion_sms`='1', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='28', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='37' WHERE `compaign_id`=78700 LIMIT 1 


Time Diff : 1.943

Array
(
    [0] => 78701
    [compaign_id] => 78701
    [1] => u29676
    [user_id] => u29676
    [2] => 66277,
    [group_ids] => 66277,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486199
    [start_date] => 1764486199
    [9] => 0
    [end_date] => 0
    [10] => 6309
    [total_sms] => 6309
    [11] => 6309
    [sent_sms] => 6309
    [12] => 0
    [duplicate_sms] => 0
    [13] => 417
    [answered_sms] => 417
    [14] => 370
    [busy_sms] => 370
    [15] => 0
    [congestion_sms] => 0
    [16] => 691
    [failed_sms] => 691
    [17] => 0
    [hangup_sms] => 0
    [18] => 566
    [no_answer_sms] => 566
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2319
    [cutting_sms] => 2319
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 417
    [user_answered_sms] => 417
    [27] => 370
    [user_busy_sms] => 370
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 691
    [user_failed_sms] => 691
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 566
    [user_no_answer_sms] => 566
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486199
    [create_date] => 1764486199
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486209,"compaign_read_start_time":1764486211,"compaign_read_complete_time":1764486225,"compaign_send_start_time":1764486242,"compaign_send_complete_time":1764486252}
    [action_time] => {"api_allot_time":1764486209,"compaign_read_start_time":1764486211,"compaign_read_complete_time":1764486225,"compaign_send_start_time":1764486242,"compaign_send_complete_time":1764486252}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78701_30112025_123325PM_646
    [common_name] => u29676_78701_30112025_123325PM_646
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66277
    [temp_group_table] => contacts_temp_group_66277
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78701
\compaign_type : Rans per 29.88899 
ans sms 6309
dnd sms 1946

require answer perrequire answer per : 1305

user answer per : 417
below is the redis data 888 UPDATE voice_compaign_detail_78701 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 888 Total Failed : 1431 no_answer_count : 478 Busy count :368 congestion_count : 170 failed_count : 415UPDATE voice_compaign_detail_78701 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 478 UPDATE voice_compaign_detail_78701 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 368 UPDATE voice_compaign_detail_78701 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 170 UPDATE voice_compaign_detail_78701 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 415 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1305', `user_busy_sms`='738', `user_congestion_sms`='170', `user_failed_sms`='1106', `user_hangup_sms`='0', `user_no_answer_sms`='1044', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78701 LIMIT 1 


Time Diff : 0.043

Array
(
    [0] => 78702
    [compaign_id] => 78702
    [1] => u20720
    [user_id] => u20720
    [2] => 66280,
    [group_ids] => 66280,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486280
    [start_date] => 1764486280
    [9] => 0
    [end_date] => 0
    [10] => 4876
    [total_sms] => 4876
    [11] => 4876
    [sent_sms] => 4876
    [12] => 0
    [duplicate_sms] => 0
    [13] => 33
    [answered_sms] => 33
    [14] => 183
    [busy_sms] => 183
    [15] => 0
    [congestion_sms] => 0
    [16] => 467
    [failed_sms] => 467
    [17] => 0
    [hangup_sms] => 0
    [18] => 122
    [no_answer_sms] => 122
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 727
    [cutting_sms] => 727
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 33
    [user_answered_sms] => 33
    [27] => 183
    [user_busy_sms] => 183
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 467
    [user_failed_sms] => 467
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 122
    [user_no_answer_sms] => 122
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486277
    [create_date] => 1764486277
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486289,"compaign_read_start_time":1764486290,"compaign_read_complete_time":1764486301,"compaign_send_start_time":1764486302,"compaign_send_complete_time":1764486307}
    [action_time] => {"api_allot_time":1764486289,"compaign_read_start_time":1764486290,"compaign_read_complete_time":1764486301,"compaign_send_start_time":1764486302,"compaign_send_complete_time":1764486307}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78702_30112025_123446PM_966
    [common_name] => u20720_78702_30112025_123446PM_966
    [52] => 1764486277_u20720_voice.wav
    [voice_file] => 1764486277_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66280
    [temp_group_table] => contacts_temp_group_66280
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78702
\compaign_type : Rans per 28.55644 
ans sms 4876
dnd sms 3344

require answer perrequire answer per : 438

user answer per : 33
below is the redis data 405 UPDATE voice_compaign_detail_78702 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 405 Total Failed : 322 no_answer_count : 108 Busy count :83 congestion_count : 39 failed_count : 92UPDATE voice_compaign_detail_78702 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_78702 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_78702 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_78702 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='438', `user_busy_sms`='266', `user_congestion_sms`='39', `user_failed_sms`='559', `user_hangup_sms`='0', `user_no_answer_sms`='230', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78702 LIMIT 1 


Time Diff : 0.034

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227401'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.3679 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.09281 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.55821 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227462'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.30135 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.10863 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.73736 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.03352 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.90618 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 56
    [credit_seq] => 56
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486482
    [last_credit_update_time] => 1764486482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.08249 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78677
    [compaign_id] => 78677
    [1] => u61
    [user_id] => u61
    [2] => 66260,
    [group_ids] => 66260,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486000
    [start_date] => 1764486000
    [9] => 0
    [end_date] => 0
    [10] => 333
    [total_sms] => 333
    [11] => 333
    [sent_sms] => 333
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 154
    [failed_sms] => 154
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 130
    [cutting_sms] => 130
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 154
    [user_failed_sms] => 154
    [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] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1764484923
    [create_date] => 1764484923
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486010,"compaign_read_start_time":1764486010,"compaign_read_complete_time":1764486011,"compaign_send_start_time":1764486062,"compaign_send_complete_time":1764486063}
    [action_time] => {"api_allot_time":1764486010,"compaign_read_start_time":1764486010,"compaign_read_complete_time":1764486011,"compaign_send_start_time":1764486062,"compaign_send_complete_time":1764486063}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78677_30112025_123005PM_989
    [common_name] => u61_78677_30112025_123005PM_989
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_66260
    [temp_group_table] => contacts_temp_group_66260
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764486721
    [last_credit_update_time] => 1764486721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 78677
\compaign_type : Rans per 27.56914 
ans sms 333
dnd sms 0

require answer perrequire answer per : 92

user answer per : 9
below is the redis data 83 /n/r
only no answer and busy will be convert, total number require 83 /n/r
UPDATE voice_compaign_detail_78677 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_78677 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 Total Failed : 68 no_answer_count : 23 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_78677 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_78677 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78677 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78677 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`='49', `user_busy_sms`='83', `user_congestion_sms`='9', `user_failed_sms`='104', `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`=78677 LIMIT 1 


Time Diff : 0.303

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.12566 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.26572 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.92533 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.2374 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.11767 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.93946 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.74277 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.02251 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.79899 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.97114 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.12004 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764486722
    [last_credit_update_time] => 1764486722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.61038 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78707
    [compaign_id] => 78707
    [1] => u29676
    [user_id] => u29676
    [2] => 66287,
    [group_ids] => 66287,
    [3] => 
    [sender_id] => 
    [4] => subhash_bjp_ward14.mp3
    [filename] => subhash_bjp_ward14.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486639
    [start_date] => 1764486639
    [9] => 0
    [end_date] => 0
    [10] => 150
    [total_sms] => 150
    [11] => 150
    [sent_sms] => 150
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 25
    [cutting_sms] => 25
    [22] => 20
    [dnd_sms] => 20
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [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] => 20
    [user_dnd_sms] => 20
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486639
    [create_date] => 1764486639
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486648,"compaign_read_start_time":1764486649,"compaign_read_complete_time":1764486650,"compaign_send_start_time":1764486662,"compaign_send_complete_time":1764486663}
    [action_time] => {"api_allot_time":1764486648,"compaign_read_start_time":1764486649,"compaign_read_complete_time":1764486650,"compaign_send_start_time":1764486662,"compaign_send_complete_time":1764486663}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78707_30112025_124045PM_588
    [common_name] => u29676_78707_30112025_124045PM_588
    [52] => 1764486638_u29676_voice.wav
    [voice_file] => 1764486638_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66287
    [temp_group_table] => contacts_temp_group_66287
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486901
    [last_credit_update_time] => 1764486901
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78707
\compaign_type : Rans per 30.4531 
ans sms 150
dnd sms 20

require answer perrequire answer per : 40

user answer per : 45
Total Failed : 25 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_78707 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78707 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78707 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78707 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`='45', `user_busy_sms`='21', `user_congestion_sms`='3', `user_failed_sms`='22', `user_hangup_sms`='0', `user_no_answer_sms`='39', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='20' WHERE `compaign_id`=78707 LIMIT 1 


Time Diff : 1.82

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.68699 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.13966 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.61803 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78662
    [compaign_id] => 78662
    [1] => u29672
    [user_id] => u29672
    [2] => 66246,
    [group_ids] => 66246,
    [3] => 
    [sender_id] => 
    [4] => KARANJANCPNEW.mp3
    [filename] => KARANJANCPNEW.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764484331
    [start_date] => 1764484331
    [9] => 0
    [end_date] => 0
    [10] => 38412
    [total_sms] => 38412
    [11] => 38412
    [sent_sms] => 38412
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1719
    [answered_sms] => 1719
    [14] => 3477
    [busy_sms] => 3477
    [15] => 1
    [congestion_sms] => 1
    [16] => 10144
    [failed_sms] => 10144
    [17] => 0
    [hangup_sms] => 0
    [18] => 3148
    [no_answer_sms] => 3148
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 19923
    [cutting_sms] => 19923
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1719
    [user_answered_sms] => 1719
    [27] => 3477
    [user_busy_sms] => 3477
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 10144
    [user_failed_sms] => 10144
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3148
    [user_no_answer_sms] => 3148
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764484309
    [create_date] => 1764484309
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764484340,"compaign_read_start_time":1764484342,"compaign_read_complete_time":1764484438,"compaign_send_start_time":1764484442,"compaign_send_complete_time":1764484654}
    [action_time] => {"api_allot_time":1764484340,"compaign_read_start_time":1764484342,"compaign_read_complete_time":1764484438,"compaign_send_start_time":1764484442,"compaign_send_complete_time":1764484654}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78662_30112025_120217PM_642
    [common_name] => u29672_78662_30112025_120217PM_642
    [52] => 1764308434_u29672_voice_upload.wav
    [voice_file] => 1764308434_u29672_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66246
    [temp_group_table] => contacts_temp_group_66246
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 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] => 1764486902
    [reschedule_last_check_time] => 1764486902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78662
\compaign_type : Rans per 30.84381 
ans sms 38412
dnd sms 0

require answer perrequire answer per : 11848

user answer per : 1719
below is the redis data 10129 UPDATE voice_compaign_detail_78662 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10129 Total Failed : 9794 no_answer_count : 3266 Busy count :2514 congestion_count : 1163 failed_count : 2851UPDATE voice_compaign_detail_78662 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3266 UPDATE voice_compaign_detail_78662 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2514 UPDATE voice_compaign_detail_78662 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1163 UPDATE voice_compaign_detail_78662 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2851 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='11848', `user_busy_sms`='5991', `user_congestion_sms`='1164', `user_failed_sms`='12995', `user_hangup_sms`='0', `user_no_answer_sms`='6414', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78662 LIMIT 1 


Time Diff : 0.064

Array
(
    [0] => 78708
    [compaign_id] => 78708
    [1] => u20720
    [user_id] => u20720
    [2] => 66288,
    [group_ids] => 66288,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486679
    [start_date] => 1764486679
    [9] => 0
    [end_date] => 0
    [10] => 4438
    [total_sms] => 4438
    [11] => 4438
    [sent_sms] => 4438
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 150
    [busy_sms] => 150
    [15] => 0
    [congestion_sms] => 0
    [16] => 323
    [failed_sms] => 323
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 517
    [cutting_sms] => 517
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 150
    [user_busy_sms] => 150
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 323
    [user_failed_sms] => 323
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 76
    [user_no_answer_sms] => 76
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486677
    [create_date] => 1764486677
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486686,"compaign_read_start_time":1764486689,"compaign_read_complete_time":1764486700,"compaign_send_start_time":1764486721,"compaign_send_complete_time":1764486726}
    [action_time] => {"api_allot_time":1764486686,"compaign_read_start_time":1764486689,"compaign_read_complete_time":1764486700,"compaign_send_start_time":1764486721,"compaign_send_complete_time":1764486726}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78708_30112025_124124PM_602
    [common_name] => u20720_78708_30112025_124124PM_602
    [52] => 1764486677_u20720_voice.wav
    [voice_file] => 1764486677_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66288
    [temp_group_table] => contacts_temp_group_66288
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486961
    [last_credit_update_time] => 1764486961
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78708
\compaign_type : Rans per 28.90906 
ans sms 4438
dnd sms 3344

require answer perrequire answer per : 317

user answer per : 28
below is the redis data 289 UPDATE voice_compaign_detail_78708 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 289 Total Failed : 228 no_answer_count : 77 Busy count :59 congestion_count : 28 failed_count : 64UPDATE voice_compaign_detail_78708 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_78708 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_78708 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78708 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`='317', `user_busy_sms`='209', `user_congestion_sms`='28', `user_failed_sms`='387', `user_hangup_sms`='0', `user_no_answer_sms`='153', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78708 LIMIT 1 


Time Diff : 0.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>'1764227882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.3794 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.57965 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.22652 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764227942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.11392 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.57978 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.95869 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228001'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.86786 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.09066 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 58
    [credit_seq] => 58
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764486962
    [last_credit_update_time] => 1764486962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.25364 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.62 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.63253 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.73769 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.56461 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.00822 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.91529 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.98937 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.62503 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.18631 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.53642 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.80892 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487202
    [last_credit_update_time] => 1764487202
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.9521 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.57869 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487447
    [last_credit_update_time] => 1764487447
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.00467 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487448
    [last_credit_update_time] => 1764487448
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.46514 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.09731 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487447
    [last_credit_update_time] => 1764487447
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.75282 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487448
    [last_credit_update_time] => 1764487448
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.21645 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.51176 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487447
    [last_credit_update_time] => 1764487447
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.13862 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487448
    [last_credit_update_time] => 1764487448
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.27578 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.41097 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487447
    [last_credit_update_time] => 1764487447
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.0676 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487448
    [last_credit_update_time] => 1764487448
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.32831 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.12723 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.49434 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.70033 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78711
    [compaign_id] => 78711
    [1] => sr70
    [user_id] => sr70
    [2] => 66290,
    [group_ids] => 66290,
    [3] => 
    [sender_id] => 
    [4] => Tushar Rathod NP.mp3
    [filename] => Tushar Rathod NP.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764486837
    [start_date] => 1764486837
    [9] => 0
    [end_date] => 0
    [10] => 29998
    [total_sms] => 29998
    [11] => 29998
    [sent_sms] => 29998
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4438
    [answered_sms] => 4438
    [14] => 2355
    [busy_sms] => 2355
    [15] => 0
    [congestion_sms] => 0
    [16] => 889
    [failed_sms] => 889
    [17] => 0
    [hangup_sms] => 0
    [18] => 4053
    [no_answer_sms] => 4053
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 13161
    [cutting_sms] => 13161
    [22] => 5102
    [dnd_sms] => 5102
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4438
    [user_answered_sms] => 4438
    [27] => 2355
    [user_busy_sms] => 2355
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 889
    [user_failed_sms] => 889
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 4053
    [user_no_answer_sms] => 4053
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 5102
    [user_dnd_sms] => 5102
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr70
    [created_by] => sr70
    [38] => 0
    [isScheduled] => 0
    [39] => 1764486821
    [create_date] => 1764486821
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764486846,"compaign_read_start_time":1764486847,"compaign_read_complete_time":1764486916,"compaign_send_start_time":1764486962,"compaign_send_complete_time":1764487094}
    [action_time] => {"api_allot_time":1764486846,"compaign_read_start_time":1764486847,"compaign_read_complete_time":1764486916,"compaign_send_start_time":1764486962,"compaign_send_complete_time":1764487094}
    [50] => 0
    [compaign_file] => 0
    [51] => sr70_78711_30112025_124402PM_597
    [common_name] => sr70_78711_30112025_124402PM_597
    [52] => 1764486047_sr70_voice_upload.wav
    [voice_file] => 1764486047_sr70_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66290
    [temp_group_table] => contacts_temp_group_66290
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764487503
    [reschedule_last_check_time] => 1764487503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487682
    [last_credit_update_time] => 1764487682
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 163
    [user_voice_plan_id] => 163
    [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":"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,sr70
    [uphierarchy] => admin,sr36,sr70
    [113] => 
    [extra_params_json] => 
)


Compaign : 78711
\compaign_type : Rans per 26.08563 
ans sms 29998
dnd sms 5102

require answer perrequire answer per : 6495

user answer per : 4438
below is the redis data 2057 /n/r
only no answer and busy will be convert, total number require 2057 /n/r
UPDATE voice_compaign_detail_78711 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1626 UPDATE voice_compaign_detail_78711 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1626 Total Failed : 10102 no_answer_count : 3369 Busy count :2593 congestion_count : 1200 failed_count : 2940UPDATE voice_compaign_detail_78711 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3369 UPDATE voice_compaign_detail_78711 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2593 UPDATE voice_compaign_detail_78711 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1200 UPDATE voice_compaign_detail_78711 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2940 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='6495', `user_busy_sms`='5820', `user_congestion_sms`='1200', `user_failed_sms`='3636', `user_hangup_sms`='0', `user_no_answer_sms`='7745', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='5102' WHERE `compaign_id`=78711 LIMIT 1 


Time Diff : 0.025

Array
(
    [0] => 78716
    [compaign_id] => 78716
    [1] => u179
    [user_id] => u179
    [2] => 66298,
    [group_ids] => 66298,
    [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] => 1764487427
    [start_date] => 1764487427
    [9] => 0
    [end_date] => 0
    [10] => 141
    [total_sms] => 141
    [11] => 141
    [sent_sms] => 141
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 28
    [user_no_answer_sms] => 28
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1764487427
    [create_date] => 1764487427
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487444,"compaign_read_start_time":1764487444,"compaign_read_complete_time":1764487445,"compaign_send_start_time":1764487502,"compaign_send_complete_time":1764487503}
    [action_time] => {"api_allot_time":1764487444,"compaign_read_start_time":1764487444,"compaign_read_complete_time":1764487445,"compaign_send_start_time":1764487502,"compaign_send_complete_time":1764487503}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78716_30112025_125402PM_145
    [common_name] => u179_78716_30112025_125402PM_145
    [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_66298
    [temp_group_table] => contacts_temp_group_66298
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 3
    [reschedule_max] => 3
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 3
    [reschedule_remaining] => 3
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487742
    [last_credit_update_time] => 1764487742
    [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":1764491400,"2":1764492300,"3":1764493200}
    [rt_time] => {"1":1764491400,"2":1764492300,"3":1764493200}
    [104] => 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 : 78716
\compaign_type : Rans per 25.02109 
ans sms 141
dnd sms 26

require answer perrequire answer per : 29

user answer per : 35
Total Failed : 23 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_78716 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_78716 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78716 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78716 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`='35', `user_busy_sms`='29', `user_congestion_sms`='3', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='36', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78716 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>'1764228601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.79215 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.64801 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.71436 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78714
    [compaign_id] => 78714
    [1] => u20720
    [user_id] => u20720
    [2] => 66294,
    [group_ids] => 66294,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-11-29 at 14.26.38 (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-11-29 at 14.26.38 (online-audio-converter.com).mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764487184
    [start_date] => 1764487184
    [9] => 0
    [end_date] => 0
    [10] => 875
    [total_sms] => 875
    [11] => 875
    [sent_sms] => 875
    [12] => 0
    [duplicate_sms] => 0
    [13] => 103
    [answered_sms] => 103
    [14] => 79
    [busy_sms] => 79
    [15] => 1
    [congestion_sms] => 1
    [16] => 60
    [failed_sms] => 60
    [17] => 0
    [hangup_sms] => 0
    [18] => 96
    [no_answer_sms] => 96
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 270
    [cutting_sms] => 270
    [22] => 266
    [dnd_sms] => 266
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 103
    [user_answered_sms] => 103
    [27] => 79
    [user_busy_sms] => 79
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 60
    [user_failed_sms] => 60
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 96
    [user_no_answer_sms] => 96
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 266
    [user_dnd_sms] => 266
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764487184
    [create_date] => 1764487184
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487193,"compaign_read_start_time":1764487201,"compaign_read_complete_time":1764487203,"compaign_send_start_time":1764487262,"compaign_send_complete_time":1764487267}
    [action_time] => {"api_allot_time":1764487193,"compaign_read_start_time":1764487201,"compaign_read_complete_time":1764487203,"compaign_send_start_time":1764487262,"compaign_send_complete_time":1764487267}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78714_30112025_124950PM_767
    [common_name] => u20720_78714_30112025_124950PM_767
    [52] => 1764487184_u20720_voice.wav
    [voice_file] => 1764487184_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66294
    [temp_group_table] => contacts_temp_group_66294
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764487742
    [last_credit_update_time] => 1764487742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78714
\compaign_type : Rans per 26.69778 
ans sms 875
dnd sms 266

require answer perrequire answer per : 163

user answer per : 103
below is the redis data 60 UPDATE voice_compaign_detail_78714 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 60 Total Failed : 210 no_answer_count : 71 Busy count :54 congestion_count : 25 failed_count : 60UPDATE voice_compaign_detail_78714 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_78714 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_78714 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_78714 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`='163', `user_busy_sms`='133', `user_congestion_sms`='26', `user_failed_sms`='120', `user_hangup_sms`='0', `user_no_answer_sms`='167', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='266' WHERE `compaign_id`=78714 LIMIT 1 


Time Diff : 0.303

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.92954 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.65008 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.12918 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78715
    [compaign_id] => 78715
    [1] => u29676
    [user_id] => u29676
    [2] => 66297,
    [group_ids] => 66297,
    [3] => 
    [sender_id] => 
    [4] => subhash_bjp_ward14.mp3
    [filename] => subhash_bjp_ward14.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764487352
    [start_date] => 1764487352
    [9] => 0
    [end_date] => 0
    [10] => 1203
    [total_sms] => 1203
    [11] => 1203
    [sent_sms] => 1203
    [12] => 0
    [duplicate_sms] => 0
    [13] => 159
    [answered_sms] => 159
    [14] => 75
    [busy_sms] => 75
    [15] => 1
    [congestion_sms] => 1
    [16] => 145
    [failed_sms] => 145
    [17] => 0
    [hangup_sms] => 0
    [18] => 130
    [no_answer_sms] => 130
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 500
    [cutting_sms] => 500
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 159
    [user_answered_sms] => 159
    [27] => 75
    [user_busy_sms] => 75
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 145
    [user_failed_sms] => 145
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 130
    [user_no_answer_sms] => 130
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764487351
    [create_date] => 1764487351
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487359,"compaign_read_start_time":1764487360,"compaign_read_complete_time":1764487362,"compaign_send_start_time":1764487382,"compaign_send_complete_time":1764487384}
    [action_time] => {"api_allot_time":1764487359,"compaign_read_start_time":1764487360,"compaign_read_complete_time":1764487362,"compaign_send_start_time":1764487382,"compaign_send_complete_time":1764487384}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78715_30112025_125237PM_103
    [common_name] => u29676_78715_30112025_125237PM_103
    [52] => 1764486638_u29676_voice.wav
    [voice_file] => 1764486638_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66297
    [temp_group_table] => contacts_temp_group_66297
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764487802
    [last_credit_update_time] => 1764487802
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78715
\compaign_type : Rans per 26.75631 
ans sms 1203
dnd sms 193

require answer perrequire answer per : 271

user answer per : 159
below is the redis data 112 UPDATE voice_compaign_detail_78715 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 112 Total Failed : 388 no_answer_count : 130 Busy count :100 congestion_count : 47 failed_count : 111UPDATE voice_compaign_detail_78715 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_78715 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_78715 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_78715 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`='271', `user_busy_sms`='175', `user_congestion_sms`='48', `user_failed_sms`='256', `user_hangup_sms`='0', `user_no_answer_sms`='260', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78715 LIMIT 1 


Time Diff : 0.251

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.5453 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.17852 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 61
    [credit_seq] => 61
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487687
    [last_credit_update_time] => 1764487687
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.09006 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.17056 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.89214 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.80748 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78718
    [compaign_id] => 78718
    [1] => u29673
    [user_id] => u29673
    [2] => 66300,
    [group_ids] => 66300,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764487623
    [start_date] => 1764487623
    [9] => 0
    [end_date] => 0
    [10] => 354
    [total_sms] => 354
    [11] => 354
    [sent_sms] => 354
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 65
    [cutting_sms] => 65
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 25
    [user_no_answer_sms] => 25
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764487623
    [create_date] => 1764487623
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487631,"compaign_read_start_time":1764487633,"compaign_read_complete_time":1764487634,"compaign_send_start_time":1764487682,"compaign_send_complete_time":1764487688}
    [action_time] => {"api_allot_time":1764487631,"compaign_read_start_time":1764487633,"compaign_read_complete_time":1764487634,"compaign_send_start_time":1764487682,"compaign_send_complete_time":1764487688}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78718_30112025_125709PM_254
    [common_name] => u29673_78718_30112025_125709PM_254
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66300
    [temp_group_table] => contacts_temp_group_66300
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78718
\compaign_type : Rans per 28.37424 
ans sms 354
dnd sms 185

require answer perrequire answer per : 48

user answer per : 9
below is the redis data 39 UPDATE voice_compaign_detail_78718 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 26 no_answer_count : 9 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_78718 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78718 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78718 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_78718 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`='48', `user_busy_sms`='43', `user_congestion_sms`='4', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78718 LIMIT 1 


Time Diff : 0.774

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228842'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.64887 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.1213 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.77412 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.01155 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.01317 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.4893 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764228962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.54884 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.66829 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 62
    [credit_seq] => 62
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764487922
    [last_credit_update_time] => 1764487922
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.84973 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78713
    [compaign_id] => 78713
    [1] => u61
    [user_id] => u61
    [2] => 66292,
    [group_ids] => 66292,
    [3] => 
    [sender_id] => 
    [4] => New Final Day.mp3
    [filename] => New Final Day.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764487800
    [start_date] => 1764487800
    [9] => 0
    [end_date] => 0
    [10] => 284
    [total_sms] => 284
    [11] => 284
    [sent_sms] => 284
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 8
    [busy_sms] => 8
    [15] => 0
    [congestion_sms] => 0
    [16] => 163
    [failed_sms] => 163
    [17] => 0
    [hangup_sms] => 0
    [18] => 8
    [no_answer_sms] => 8
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 95
    [cutting_sms] => 95
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 8
    [user_busy_sms] => 8
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 163
    [user_failed_sms] => 163
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 8
    [user_no_answer_sms] => 8
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1764487023
    [create_date] => 1764487023
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487807,"compaign_read_start_time":1764487810,"compaign_read_complete_time":1764487811,"compaign_send_start_time":1764487862,"compaign_send_complete_time":1764487872}
    [action_time] => {"api_allot_time":1764487807,"compaign_read_start_time":1764487810,"compaign_read_complete_time":1764487811,"compaign_send_start_time":1764487862,"compaign_send_complete_time":1764487872}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_78713_30112025_010005PM_508
    [common_name] => u61_78713_30112025_010005PM_508
    [52] => 1728532989_u61_voice.wav
    [voice_file] => 1728532989_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_66292
    [temp_group_table] => contacts_temp_group_66292
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488102
    [last_credit_update_time] => 1764488102
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 78713
\compaign_type : Rans per 27.49285 
ans sms 284
dnd sms 0

require answer perrequire answer per : 79

user answer per : 10
below is the redis data 69 /n/r
only no answer and busy will be convert, total number require 69 /n/r
UPDATE voice_compaign_detail_78713 SET user_report='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_78713 SET user_report='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 : 56 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_78713 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78713 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78713 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78713 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`='26', `user_busy_sms`='69', `user_congestion_sms`='7', `user_failed_sms`='109', `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`=78713 LIMIT 1 


Time Diff : 0.873

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.86599 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.66926 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.59596 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.87469 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.49745 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.12319 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.02813 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.84091 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.76394 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.51141 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.48741 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488165
    [last_credit_update_time] => 1764488165
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.9634 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.75934 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.80706 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.00537 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.88772 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.41001 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.84808 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.08041 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.70945 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.62604 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78725
    [compaign_id] => 78725
    [1] => u29684
    [user_id] => u29684
    [2] => 66307,
    [group_ids] => 66307,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764487967
    [start_date] => 1764487967
    [9] => 0
    [end_date] => 0
    [10] => 9998
    [total_sms] => 9998
    [11] => 9998
    [sent_sms] => 9998
    [12] => 0
    [duplicate_sms] => 0
    [13] => 955
    [answered_sms] => 955
    [14] => 1437
    [busy_sms] => 1437
    [15] => 1
    [congestion_sms] => 1
    [16] => 1042
    [failed_sms] => 1042
    [17] => 0
    [hangup_sms] => 0
    [18] => 752
    [no_answer_sms] => 752
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4433
    [cutting_sms] => 4433
    [22] => 1378
    [dnd_sms] => 1378
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 955
    [user_answered_sms] => 955
    [27] => 1437
    [user_busy_sms] => 1437
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 1042
    [user_failed_sms] => 1042
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 752
    [user_no_answer_sms] => 752
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1378
    [user_dnd_sms] => 1378
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764487962
    [create_date] => 1764487962
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764487984,"compaign_read_start_time":1764487984,"compaign_read_complete_time":1764488000,"compaign_send_start_time":1764488042,"compaign_send_complete_time":1764488073}
    [action_time] => {"api_allot_time":1764487984,"compaign_read_start_time":1764487984,"compaign_read_complete_time":1764488000,"compaign_send_start_time":1764488042,"compaign_send_complete_time":1764488073}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78725_30112025_010302PM_596
    [common_name] => u29684_78725_30112025_010302PM_596
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66307
    [temp_group_table] => contacts_temp_group_66307
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764488404
    [reschedule_last_check_time] => 1764488404
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488522
    [last_credit_update_time] => 1764488522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78725
\compaign_type : Rans per 28.1749 
ans sms 9998
dnd sms 1378

require answer perrequire answer per : 2429

user answer per : 955
below is the redis data 1474 UPDATE voice_compaign_detail_78725 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1474 Total Failed : 2959 no_answer_count : 987 Busy count :760 congestion_count : 352 failed_count : 860UPDATE voice_compaign_detail_78725 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 987 UPDATE voice_compaign_detail_78725 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 760 UPDATE voice_compaign_detail_78725 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 352 UPDATE voice_compaign_detail_78725 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 860 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2429', `user_busy_sms`='2197', `user_congestion_sms`='353', `user_failed_sms`='1902', `user_hangup_sms`='0', `user_no_answer_sms`='1739', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1378' WHERE `compaign_id`=78725 LIMIT 1 


Time Diff : 0.049

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229442'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.67704 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.92329 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 64
    [credit_seq] => 64
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488407
    [last_credit_update_time] => 1764488407
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.72726 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.81512 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.14974 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.61859 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.42241 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.3161 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.2888 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78726
    [compaign_id] => 78726
    [1] => u29684
    [user_id] => u29684
    [2] => 66308,
    [group_ids] => 66308,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488016
    [start_date] => 1764488016
    [9] => 0
    [end_date] => 0
    [10] => 10000
    [total_sms] => 10000
    [11] => 10000
    [sent_sms] => 10000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1123
    [answered_sms] => 1123
    [14] => 1491
    [busy_sms] => 1491
    [15] => 2
    [congestion_sms] => 2
    [16] => 1062
    [failed_sms] => 1062
    [17] => 0
    [hangup_sms] => 0
    [18] => 864
    [no_answer_sms] => 864
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4106
    [cutting_sms] => 4106
    [22] => 1352
    [dnd_sms] => 1352
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 719
    [user_answered_sms] => 719
    [27] => 993
    [user_busy_sms] => 993
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 715
    [user_failed_sms] => 715
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 565
    [user_no_answer_sms] => 565
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1352
    [user_dnd_sms] => 1352
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488012
    [create_date] => 1764488012
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488027,"compaign_read_start_time":1764488029,"compaign_read_complete_time":1764488046,"compaign_send_start_time":1764488102,"compaign_send_complete_time":1764488167}
    [action_time] => {"api_allot_time":1764488027,"compaign_read_start_time":1764488029,"compaign_read_complete_time":1764488046,"compaign_send_start_time":1764488102,"compaign_send_complete_time":1764488167}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78726_30112025_010342PM_146
    [common_name] => u29684_78726_30112025_010342PM_146
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66308
    [temp_group_table] => contacts_temp_group_66308
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764488704
    [reschedule_last_check_time] => 1764488704
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488761
    [last_credit_update_time] => 1764488761
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78726
\compaign_type : Rans per 28.53523 
ans sms 10000
dnd sms 1352

require answer perrequire answer per : 2468

user answer per : 1123
below is the redis data 1345 UPDATE voice_compaign_detail_78726 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1345 Total Failed : 2762 no_answer_count : 921 Busy count :709 congestion_count : 328 failed_count : 804UPDATE voice_compaign_detail_78726 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 921 UPDATE voice_compaign_detail_78726 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 709 UPDATE voice_compaign_detail_78726 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 328 UPDATE voice_compaign_detail_78726 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 804 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2468', `user_busy_sms`='2200', `user_congestion_sms`='329', `user_failed_sms`='1866', `user_hangup_sms`='0', `user_no_answer_sms`='1785', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1352' WHERE `compaign_id`=78726 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>'1764229622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.85123 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.33335 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.90463 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78727
    [compaign_id] => 78727
    [1] => u29684
    [user_id] => u29684
    [2] => 66309,
    [group_ids] => 66309,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488070
    [start_date] => 1764488070
    [9] => 0
    [end_date] => 0
    [10] => 10000
    [total_sms] => 10000
    [11] => 10000
    [sent_sms] => 10000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 916
    [answered_sms] => 916
    [14] => 1246
    [busy_sms] => 1246
    [15] => 9
    [congestion_sms] => 9
    [16] => 1000
    [failed_sms] => 1000
    [17] => 0
    [hangup_sms] => 0
    [18] => 794
    [no_answer_sms] => 794
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4560
    [cutting_sms] => 4560
    [22] => 1475
    [dnd_sms] => 1475
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 916
    [user_answered_sms] => 916
    [27] => 1246
    [user_busy_sms] => 1246
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 1000
    [user_failed_sms] => 1000
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 794
    [user_no_answer_sms] => 794
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1475
    [user_dnd_sms] => 1475
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488061
    [create_date] => 1764488061
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488078,"compaign_read_start_time":1764488081,"compaign_read_complete_time":1764488100,"compaign_send_start_time":1764488102,"compaign_send_complete_time":1764488154}
    [action_time] => {"api_allot_time":1764488078,"compaign_read_start_time":1764488081,"compaign_read_complete_time":1764488100,"compaign_send_start_time":1764488102,"compaign_send_complete_time":1764488154}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78727_30112025_010436PM_967
    [common_name] => u29684_78727_30112025_010436PM_967
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66309
    [temp_group_table] => contacts_temp_group_66309
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764488704
    [reschedule_last_check_time] => 1764488704
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488761
    [last_credit_update_time] => 1764488761
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78727
\compaign_type : Rans per 25.09994 
ans sms 10000
dnd sms 1475

require answer perrequire answer per : 2140

user answer per : 916
below is the redis data 1224 UPDATE voice_compaign_detail_78727 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1224 Total Failed : 3340 no_answer_count : 1114 Busy count :858 congestion_count : 397 failed_count : 971UPDATE voice_compaign_detail_78727 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1114 UPDATE voice_compaign_detail_78727 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 858 UPDATE voice_compaign_detail_78727 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 397 UPDATE voice_compaign_detail_78727 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 971 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2140', `user_busy_sms`='2104', `user_congestion_sms`='402', `user_failed_sms`='1971', `user_hangup_sms`='0', `user_no_answer_sms`='1908', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1475' WHERE `compaign_id`=78727 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>'1764229681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.92236 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.81842 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 65
    [credit_seq] => 65
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488643
    [last_credit_update_time] => 1764488643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.88033 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.41389 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.74379 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.04856 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78729
    [compaign_id] => 78729
    [1] => u20720
    [user_id] => u20720
    [2] => 66312,
    [group_ids] => 66312,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488150
    [start_date] => 1764488150
    [9] => 0
    [end_date] => 0
    [10] => 4121
    [total_sms] => 4121
    [11] => 4121
    [sent_sms] => 4121
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 112
    [busy_sms] => 112
    [15] => 0
    [congestion_sms] => 0
    [16] => 233
    [failed_sms] => 233
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 376
    [cutting_sms] => 376
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 112
    [user_busy_sms] => 112
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 233
    [user_failed_sms] => 233
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488147
    [create_date] => 1764488147
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488165,"compaign_read_start_time":1764488167,"compaign_read_complete_time":1764488178,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488228}
    [action_time] => {"api_allot_time":1764488165,"compaign_read_start_time":1764488167,"compaign_read_complete_time":1764488178,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488228}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78729_30112025_010602PM_340
    [common_name] => u20720_78729_30112025_010602PM_340
    [52] => 1764488146_u20720_voice.wav
    [voice_file] => 1764488146_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66312
    [temp_group_table] => contacts_temp_group_66312
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764488881
    [last_credit_update_time] => 1764488881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78729
\compaign_type : Rans per 26.79088 
ans sms 4121
dnd sms 3344

require answer perrequire answer per : 209

user answer per : 15
below is the redis data 194 UPDATE voice_compaign_detail_78729 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 194 Total Failed : 182 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 52UPDATE voice_compaign_detail_78729 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_78729 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_78729 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78729 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`='209', `user_busy_sms`='159', `user_congestion_sms`='22', `user_failed_sms`='285', `user_hangup_sms`='0', `user_no_answer_sms`='102', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78729 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>'1764229802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.09907 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.1636 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.66143 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.09512 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.36702 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.42409 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229922'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.58323 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.57372 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 66
    [credit_seq] => 66
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764488882
    [last_credit_update_time] => 1764488882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.58293 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764229982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.8309 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.21692 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.03341 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78728
    [compaign_id] => 78728
    [1] => u29684
    [user_id] => u29684
    [2] => 66310,
    [group_ids] => 66310,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488113
    [start_date] => 1764488113
    [9] => 0
    [end_date] => 0
    [10] => 10001
    [total_sms] => 10001
    [11] => 10001
    [sent_sms] => 10001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1218
    [answered_sms] => 1218
    [14] => 1152
    [busy_sms] => 1152
    [15] => 11
    [congestion_sms] => 11
    [16] => 816
    [failed_sms] => 816
    [17] => 0
    [hangup_sms] => 0
    [18] => 849
    [no_answer_sms] => 849
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3950
    [cutting_sms] => 3950
    [22] => 2005
    [dnd_sms] => 2005
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1218
    [user_answered_sms] => 1218
    [27] => 1152
    [user_busy_sms] => 1152
    [28] => 11
    [user_congestion_sms] => 11
    [29] => 816
    [user_failed_sms] => 816
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 849
    [user_no_answer_sms] => 849
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2005
    [user_dnd_sms] => 2005
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488109
    [create_date] => 1764488109
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488121,"compaign_read_start_time":1764488122,"compaign_read_complete_time":1764488164,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488279}
    [action_time] => {"api_allot_time":1764488121,"compaign_read_start_time":1764488122,"compaign_read_complete_time":1764488164,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488279}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78728_30112025_010519PM_328
    [common_name] => u29684_78728_30112025_010519PM_328
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66310
    [temp_group_table] => contacts_temp_group_66310
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764489003
    [reschedule_last_check_time] => 1764489003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78728
\compaign_type : Rans per 29.31396 
ans sms 10001
dnd sms 2005

require answer perrequire answer per : 2344

user answer per : 1218
below is the redis data 1126 UPDATE voice_compaign_detail_78728 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1126 Total Failed : 2827 no_answer_count : 943 Busy count :726 congestion_count : 336 failed_count : 822UPDATE voice_compaign_detail_78728 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 943 UPDATE voice_compaign_detail_78728 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 726 UPDATE voice_compaign_detail_78728 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 336 UPDATE voice_compaign_detail_78728 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 822 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2344', `user_busy_sms`='1878', `user_congestion_sms`='344', `user_failed_sms`='1638', `user_hangup_sms`='0', `user_no_answer_sms`='1792', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2005' WHERE `compaign_id`=78728 LIMIT 1 


Time Diff : 0.056

Array
(
    [0] => 78731
    [compaign_id] => 78731
    [1] => u29684
    [user_id] => u29684
    [2] => 66313,
    [group_ids] => 66313,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488170
    [start_date] => 1764488170
    [9] => 0
    [end_date] => 0
    [10] => 9999
    [total_sms] => 9999
    [11] => 9999
    [sent_sms] => 9999
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1073
    [answered_sms] => 1073
    [14] => 973
    [busy_sms] => 973
    [15] => 10
    [congestion_sms] => 10
    [16] => 778
    [failed_sms] => 778
    [17] => 0
    [hangup_sms] => 0
    [18] => 918
    [no_answer_sms] => 918
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3536
    [cutting_sms] => 3536
    [22] => 2711
    [dnd_sms] => 2711
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1073
    [user_answered_sms] => 1073
    [27] => 973
    [user_busy_sms] => 973
    [28] => 10
    [user_congestion_sms] => 10
    [29] => 778
    [user_failed_sms] => 778
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 918
    [user_no_answer_sms] => 918
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2711
    [user_dnd_sms] => 2711
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488166
    [create_date] => 1764488166
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488178,"compaign_read_start_time":1764488179,"compaign_read_complete_time":1764488204,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488278}
    [action_time] => {"api_allot_time":1764488178,"compaign_read_start_time":1764488179,"compaign_read_complete_time":1764488204,"compaign_send_start_time":1764488221,"compaign_send_complete_time":1764488278}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78731_30112025_010616PM_150
    [common_name] => u29684_78731_30112025_010616PM_150
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66313
    [temp_group_table] => contacts_temp_group_66313
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764489003
    [reschedule_last_check_time] => 1764489003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78731
\compaign_type : Rans per 26.85533 
ans sms 9999
dnd sms 2711

require answer perrequire answer per : 1958

user answer per : 1073
below is the redis data 885 UPDATE voice_compaign_detail_78731 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 885 Total Failed : 2653 no_answer_count : 885 Busy count :681 congestion_count : 315 failed_count : 772UPDATE voice_compaign_detail_78731 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 885 UPDATE voice_compaign_detail_78731 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 681 UPDATE voice_compaign_detail_78731 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 315 UPDATE voice_compaign_detail_78731 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 772 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1958', `user_busy_sms`='1654', `user_congestion_sms`='323', `user_failed_sms`='1550', `user_hangup_sms`='0', `user_no_answer_sms`='1803', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2711' WHERE `compaign_id`=78731 LIMIT 1 


Time Diff : 0.056

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.34657 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.40687 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.07239 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.76742 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.81702 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.87709 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.15224 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.66108 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 67
    [credit_seq] => 67
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489122
    [last_credit_update_time] => 1764489122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.18814 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.028 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.03365 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.60683 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.18686 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.83877 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.71777 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78734
    [compaign_id] => 78734
    [1] => u29684
    [user_id] => u29684
    [2] => 66315,
    [group_ids] => 66315,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488236
    [start_date] => 1764488236
    [9] => 0
    [end_date] => 0
    [10] => 8475
    [total_sms] => 8475
    [11] => 8475
    [sent_sms] => 8475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 914
    [answered_sms] => 914
    [14] => 1152
    [busy_sms] => 1152
    [15] => 4
    [congestion_sms] => 4
    [16] => 874
    [failed_sms] => 874
    [17] => 0
    [hangup_sms] => 0
    [18] => 670
    [no_answer_sms] => 670
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3669
    [cutting_sms] => 3669
    [22] => 1192
    [dnd_sms] => 1192
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 914
    [user_answered_sms] => 914
    [27] => 1152
    [user_busy_sms] => 1152
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 874
    [user_failed_sms] => 874
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 670
    [user_no_answer_sms] => 670
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1192
    [user_dnd_sms] => 1192
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488231
    [create_date] => 1764488231
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488245,"compaign_read_start_time":1764488248,"compaign_read_complete_time":1764488299,"compaign_send_start_time":1764488341,"compaign_send_complete_time":1764488387}
    [action_time] => {"api_allot_time":1764488245,"compaign_read_start_time":1764488248,"compaign_read_complete_time":1764488299,"compaign_send_start_time":1764488341,"compaign_send_complete_time":1764488387}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78734_30112025_010721PM_129
    [common_name] => u29684_78734_30112025_010721PM_129
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66315
    [temp_group_table] => contacts_temp_group_66315
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764489303
    [reschedule_last_check_time] => 1764489303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489422
    [last_credit_update_time] => 1764489422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78734
\compaign_type : Rans per 30.93307 
ans sms 8475
dnd sms 1192

require answer perrequire answer per : 2253

user answer per : 914
below is the redis data 1339 UPDATE voice_compaign_detail_78734 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1339 Total Failed : 2330 no_answer_count : 777 Busy count :598 congestion_count : 277 failed_count : 678UPDATE voice_compaign_detail_78734 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 777 UPDATE voice_compaign_detail_78734 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 598 UPDATE voice_compaign_detail_78734 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 277 UPDATE voice_compaign_detail_78734 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 678 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2253', `user_busy_sms`='1750', `user_congestion_sms`='281', `user_failed_sms`='1552', `user_hangup_sms`='0', `user_no_answer_sms`='1447', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1192' WHERE `compaign_id`=78734 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>'1764230342'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.03294 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.00612 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.76721 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230401'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.59953 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.0615 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 68
    [credit_seq] => 68
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489363
    [last_credit_update_time] => 1764489363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.81877 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230462'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.52137 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.1476 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.50904 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.12913 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.92896 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.45813 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.62726 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.26785 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.90085 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.4735 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.87592 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 69
    [credit_seq] => 69
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489602
    [last_credit_update_time] => 1764489602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.75646 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.42966 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.36689 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.4878 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.69758 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.38415 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.27221 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230822'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.32874 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.20807 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.5731 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.98803 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.12554 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 70
    [credit_seq] => 70
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764489842
    [last_credit_update_time] => 1764489842
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.11087 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764230941'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.48231 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.5744 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.69054 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.50326 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.06784 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.49447 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.82197 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.5909 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.54415 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231122'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.80995 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.42122 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 71
    [credit_seq] => 71
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490082
    [last_credit_update_time] => 1764490082
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.53772 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.94671 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.21061 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.54758 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.5584 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.06301 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.31023 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78733
    [compaign_id] => 78733
    [1] => u6257
    [user_id] => u6257
    [2] => 66314,
    [group_ids] => 66314,
    [3] => 
    [sender_id] => 
    [4] => JR 3day recall.MP3
    [filename] => JR 3day recall.MP3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1764488234
    [start_date] => 1764488234
    [9] => 0
    [end_date] => 0
    [10] => 38933
    [total_sms] => 38933
    [11] => 38933
    [sent_sms] => 38933
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2734
    [answered_sms] => 2734
    [14] => 2628
    [busy_sms] => 2628
    [15] => 28
    [congestion_sms] => 28
    [16] => 1094
    [failed_sms] => 1094
    [17] => 0
    [hangup_sms] => 0
    [18] => 2798
    [no_answer_sms] => 2798
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26146
    [cutting_sms] => 26146
    [22] => 3505
    [dnd_sms] => 3505
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2734
    [user_answered_sms] => 2734
    [27] => 2628
    [user_busy_sms] => 2628
    [28] => 28
    [user_congestion_sms] => 28
    [29] => 1094
    [user_failed_sms] => 1094
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2798
    [user_no_answer_sms] => 2798
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3505
    [user_dnd_sms] => 3505
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488208
    [create_date] => 1764488208
    [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":1764488240,"compaign_read_start_time":1764488242,"compaign_read_complete_time":1764488455,"compaign_send_start_time":1764488462,"compaign_send_complete_time":1764488567}
    [action_time] => {"api_allot_time":1764488240,"compaign_read_start_time":1764488242,"compaign_read_complete_time":1764488455,"compaign_send_start_time":1764488462,"compaign_send_complete_time":1764488567}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_78733_30112025_010719PM_182
    [common_name] => u6257_78733_30112025_010719PM_182
    [52] => 1757495835_u6257_voice.wav
    [voice_file] => 1757495835_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66314
    [temp_group_table] => contacts_temp_group_66314
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490383
    [last_credit_update_time] => 1764490383
    [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 : 78733
\compaign_type : Rans per 25.5858 
ans sms 38933
dnd sms 3505

require answer perrequire answer per : 9065

user answer per : 2734
below is the redis data 6331 UPDATE voice_compaign_detail_78733 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6331 Total Failed : 19821 no_answer_count : 6609 Busy count :5087 congestion_count : 2353 failed_count : 5772UPDATE voice_compaign_detail_78733 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6609 UPDATE voice_compaign_detail_78733 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5087 UPDATE voice_compaign_detail_78733 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2353 UPDATE voice_compaign_detail_78733 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5772 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='9065', `user_busy_sms`='7715', `user_congestion_sms`='2375', `user_failed_sms`='6866', `user_hangup_sms`='0', `user_no_answer_sms`='9407', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3505' WHERE `compaign_id`=78733 LIMIT 1 


Time Diff : 0.02

Array
(
    [0] => 78743
    [compaign_id] => 78743
    [1] => u29673
    [user_id] => u29673
    [2] => 66323,
    [group_ids] => 66323,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489123
    [start_date] => 1764489123
    [9] => 0
    [end_date] => 0
    [10] => 306
    [total_sms] => 306
    [11] => 306
    [sent_sms] => 306
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37
    [cutting_sms] => 37
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489123
    [create_date] => 1764489123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489131,"compaign_read_start_time":1764489133,"compaign_read_complete_time":1764489134,"compaign_send_start_time":1764489182,"compaign_send_complete_time":1764489183}
    [action_time] => {"api_allot_time":1764489131,"compaign_read_start_time":1764489133,"compaign_read_complete_time":1764489134,"compaign_send_start_time":1764489182,"compaign_send_complete_time":1764489183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78743_30112025_012209PM_681
    [common_name] => u29673_78743_30112025_012209PM_681
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66323
    [temp_group_table] => contacts_temp_group_66323
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490382
    [last_credit_update_time] => 1764490382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78743
\compaign_type : Rans per 27.76423 
ans sms 306
dnd sms 185

require answer perrequire answer per : 34

user answer per : 2
below is the redis data 32 UPDATE voice_compaign_detail_78743 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_78743 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78743 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78743 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`='34', `user_busy_sms`='39', `user_congestion_sms`='1', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78743 LIMIT 1 


Time Diff : 0.428

Array
(
    [0] => 78749
    [compaign_id] => 78749
    [1] => u29676
    [user_id] => u29676
    [2] => 66333,
    [group_ids] => 66333,
    [3] => 
    [sender_id] => 
    [4] => Raju_ringole_ward8.mp3
    [filename] => Raju_ringole_ward8.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489458
    [start_date] => 1764489458
    [9] => 0
    [end_date] => 0
    [10] => 496
    [total_sms] => 496
    [11] => 496
    [sent_sms] => 496
    [12] => 0
    [duplicate_sms] => 0
    [13] => 59
    [answered_sms] => 59
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 59
    [user_answered_sms] => 59
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489458
    [create_date] => 1764489458
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489465,"compaign_read_start_time":1764489466,"compaign_read_complete_time":1764489467,"compaign_send_start_time":1764489482,"compaign_send_complete_time":1764489483}
    [action_time] => {"api_allot_time":1764489465,"compaign_read_start_time":1764489466,"compaign_read_complete_time":1764489467,"compaign_send_start_time":1764489482,"compaign_send_complete_time":1764489483}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78749_30112025_012744PM_591
    [common_name] => u29676_78749_30112025_012744PM_591
    [52] => 1764489384_u29676_voice.wav
    [voice_file] => 1764489384_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66333
    [temp_group_table] => contacts_temp_group_66333
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490442
    [last_credit_update_time] => 1764490442
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78749
\compaign_type : Rans per 27.49807 
ans sms 496
dnd sms 116

require answer perrequire answer per : 105

user answer per : 59
below is the redis data 46 UPDATE voice_compaign_detail_78749 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 46 Total Failed : 109 no_answer_count : 37 Busy count :28 congestion_count : 13 failed_count : 31UPDATE voice_compaign_detail_78749 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_78749 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78749 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_78749 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`='105', `user_busy_sms`='62', `user_congestion_sms`='13', `user_failed_sms`='86', `user_hangup_sms`='0', `user_no_answer_sms`='114', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=78749 LIMIT 1 


Time Diff : 0.181

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.3187 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.43144 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.02835 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.39684 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.49287 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 72
    [credit_seq] => 72
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490323
    [last_credit_update_time] => 1764490323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.00205 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78741
    [compaign_id] => 78741
    [1] => u20720
    [user_id] => u20720
    [2] => 66322,
    [group_ids] => 66322,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489039
    [start_date] => 1764489039
    [9] => 0
    [end_date] => 0
    [10] => 3912
    [total_sms] => 3912
    [11] => 3912
    [sent_sms] => 3912
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 89
    [busy_sms] => 89
    [15] => 2
    [congestion_sms] => 2
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 281
    [cutting_sms] => 281
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 89
    [user_busy_sms] => 89
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 153
    [user_failed_sms] => 153
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489037
    [create_date] => 1764489037
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489045,"compaign_read_start_time":1764489047,"compaign_read_complete_time":1764489059,"compaign_send_start_time":1764489061,"compaign_send_complete_time":1764489063}
    [action_time] => {"api_allot_time":1764489045,"compaign_read_start_time":1764489047,"compaign_read_complete_time":1764489059,"compaign_send_start_time":1764489061,"compaign_send_complete_time":1764489063}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78741_30112025_012044PM_516
    [common_name] => u20720_78741_30112025_012044PM_516
    [52] => 1764489037_u20720_voice.wav
    [voice_file] => 1764489037_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66322
    [temp_group_table] => contacts_temp_group_66322
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490502
    [last_credit_update_time] => 1764490502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78741
\compaign_type : Rans per 28.96241 
ans sms 3912
dnd sms 3344

require answer perrequire answer per : 165

user answer per : 5
below is the redis data 160 UPDATE voice_compaign_detail_78741 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 160 Total Failed : 123 no_answer_count : 42 Busy count :32 congestion_count : 15 failed_count : 34UPDATE voice_compaign_detail_78741 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78741 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78741 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78741 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='165', `user_busy_sms`='121', `user_congestion_sms`='15', `user_failed_sms`='187', `user_hangup_sms`='0', `user_no_answer_sms`='80', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78741 LIMIT 1 


Time Diff : 0.059

Array
(
    [0] => 78753
    [compaign_id] => 78753
    [1] => u20720
    [user_id] => u20720
    [2] => 66338,
    [group_ids] => 66338,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764490238
    [start_date] => 1764490238
    [9] => 0
    [end_date] => 0
    [10] => 3912
    [total_sms] => 3912
    [11] => 3912
    [sent_sms] => 3912
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 87
    [busy_sms] => 87
    [15] => 0
    [congestion_sms] => 0
    [16] => 158
    [failed_sms] => 158
    [17] => 0
    [hangup_sms] => 0
    [18] => 37
    [no_answer_sms] => 37
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 270
    [cutting_sms] => 270
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 87
    [user_busy_sms] => 87
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 158
    [user_failed_sms] => 158
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 37
    [user_no_answer_sms] => 37
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764490236
    [create_date] => 1764490236
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764490246,"compaign_read_start_time":1764490247,"compaign_read_complete_time":1764490257,"compaign_send_start_time":1764490262,"compaign_send_complete_time":1764490264}
    [action_time] => {"api_allot_time":1764490246,"compaign_read_start_time":1764490247,"compaign_read_complete_time":1764490257,"compaign_send_start_time":1764490262,"compaign_send_complete_time":1764490264}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78753_30112025_014044PM_950
    [common_name] => u20720_78753_30112025_014044PM_950
    [52] => 1764490236_u20720_voice.wav
    [voice_file] => 1764490236_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66338
    [temp_group_table] => contacts_temp_group_66338
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490502
    [last_credit_update_time] => 1764490502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78753
\compaign_type : Rans per 28.80412 
ans sms 3912
dnd sms 3344

require answer perrequire answer per : 164

user answer per : 16
below is the redis data 148 UPDATE voice_compaign_detail_78753 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 148 Total Failed : 122 no_answer_count : 41 Busy count :32 congestion_count : 15 failed_count : 34UPDATE voice_compaign_detail_78753 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_78753 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78753 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78753 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='164', `user_busy_sms`='119', `user_congestion_sms`='15', `user_failed_sms`='192', `user_hangup_sms`='0', `user_no_answer_sms`='78', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78753 LIMIT 1 


Time Diff : 0.028

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231422'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.24014 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.88006 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.76988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78730
    [compaign_id] => 78730
    [1] => u6257
    [user_id] => u6257
    [2] => 66311,
    [group_ids] => 66311,
    [3] => 
    [sender_id] => 
    [4] => SW 3day recall.MP3
    [filename] => SW 3day recall.MP3
    [5] => 13
    [duration] => 13
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1764488158
    [start_date] => 1764488158
    [9] => 0
    [end_date] => 0
    [10] => 38439
    [total_sms] => 38439
    [11] => 38439
    [sent_sms] => 38439
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2476
    [answered_sms] => 2476
    [14] => 2636
    [busy_sms] => 2636
    [15] => 20
    [congestion_sms] => 20
    [16] => 1253
    [failed_sms] => 1253
    [17] => 0
    [hangup_sms] => 0
    [18] => 2774
    [no_answer_sms] => 2774
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 25805
    [cutting_sms] => 25805
    [22] => 3475
    [dnd_sms] => 3475
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2476
    [user_answered_sms] => 2476
    [27] => 2636
    [user_busy_sms] => 2636
    [28] => 20
    [user_congestion_sms] => 20
    [29] => 1253
    [user_failed_sms] => 1253
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2774
    [user_no_answer_sms] => 2774
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3475
    [user_dnd_sms] => 3475
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488129
    [create_date] => 1764488129
    [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":1764488165,"compaign_read_start_time":1764488170,"compaign_read_complete_time":1764488393,"compaign_send_start_time":1764488402,"compaign_send_complete_time":1764488567}
    [action_time] => {"api_allot_time":1764488165,"compaign_read_start_time":1764488170,"compaign_read_complete_time":1764488393,"compaign_send_start_time":1764488402,"compaign_send_complete_time":1764488567}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_78730_30112025_010604PM_179
    [common_name] => u6257_78730_30112025_010604PM_179
    [52] => 1757495763_u6257_voice.wav
    [voice_file] => 1757495763_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66311
    [temp_group_table] => contacts_temp_group_66311
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490561
    [last_credit_update_time] => 1764490561
    [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 : 78730
\compaign_type : Rans per 27.28556 
ans sms 38439
dnd sms 3475

require answer perrequire answer per : 9541

user answer per : 2476
below is the redis data 7065 UPDATE voice_compaign_detail_78730 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7065 Total Failed : 18745 no_answer_count : 6250 Busy count :4810 congestion_count : 2226 failed_count : 5459UPDATE voice_compaign_detail_78730 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6250 UPDATE voice_compaign_detail_78730 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4810 UPDATE voice_compaign_detail_78730 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2226 UPDATE voice_compaign_detail_78730 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5459 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='9541', `user_busy_sms`='7446', `user_congestion_sms`='2241', `user_failed_sms`='6712', `user_hangup_sms`='0', `user_no_answer_sms`='9024', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3475' WHERE `compaign_id`=78730 LIMIT 1 


Time Diff : 0.036

Array
(
    [0] => 78736
    [compaign_id] => 78736
    [1] => sr70
    [user_id] => sr70
    [2] => 66316,
    [group_ids] => 66316,
    [3] => 
    [sender_id] => 
    [4] => Tushar Rathod NP.mp3
    [filename] => Tushar Rathod NP.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488318
    [start_date] => 1764488318
    [9] => 0
    [end_date] => 0
    [10] => 10000
    [total_sms] => 10000
    [11] => 10000
    [sent_sms] => 10000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1320
    [answered_sms] => 1320
    [14] => 671
    [busy_sms] => 671
    [15] => 71
    [congestion_sms] => 71
    [16] => 713
    [failed_sms] => 713
    [17] => 0
    [hangup_sms] => 0
    [18] => 1203
    [no_answer_sms] => 1203
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3749
    [cutting_sms] => 3749
    [22] => 2273
    [dnd_sms] => 2273
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1320
    [user_answered_sms] => 1320
    [27] => 671
    [user_busy_sms] => 671
    [28] => 71
    [user_congestion_sms] => 71
    [29] => 713
    [user_failed_sms] => 713
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1203
    [user_no_answer_sms] => 1203
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2273
    [user_dnd_sms] => 2273
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr70
    [created_by] => sr70
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488312
    [create_date] => 1764488312
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488328,"compaign_read_start_time":1764488330,"compaign_read_complete_time":1764488377,"compaign_send_start_time":1764488402,"compaign_send_complete_time":1764488438}
    [action_time] => {"api_allot_time":1764488328,"compaign_read_start_time":1764488330,"compaign_read_complete_time":1764488377,"compaign_send_start_time":1764488402,"compaign_send_complete_time":1764488438}
    [50] => 0
    [compaign_file] => 0
    [51] => sr70_78736_30112025_010844PM_202
    [common_name] => sr70_78736_30112025_010844PM_202
    [52] => 1764486047_sr70_voice_upload.wav
    [voice_file] => 1764486047_sr70_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66316
    [temp_group_table] => contacts_temp_group_66316
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 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] => 1764490503
    [reschedule_last_check_time] => 1764490503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490561
    [last_credit_update_time] => 1764490561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 163
    [user_voice_plan_id] => 163
    [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":"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,sr70
    [uphierarchy] => admin,sr36,sr70
    [113] => 
    [extra_params_json] => 
)


Compaign : 78736
\compaign_type : Rans per 29.05749 
ans sms 10000
dnd sms 2273

require answer perrequire answer per : 2246

user answer per : 1320
below is the redis data 926 /n/r
only no answer and busy will be convert, total number require 926 /n/r
UPDATE voice_compaign_detail_78736 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 686 UPDATE voice_compaign_detail_78736 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 686 Total Failed : 2612 no_answer_count : 871 Busy count :671 congestion_count : 311 failed_count : 759UPDATE voice_compaign_detail_78736 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 871 UPDATE voice_compaign_detail_78736 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 671 UPDATE voice_compaign_detail_78736 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 311 UPDATE voice_compaign_detail_78736 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 759 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2246', `user_busy_sms`='1691', `user_congestion_sms`='311', `user_failed_sms`='1305', `user_hangup_sms`='0', `user_no_answer_sms`='2174', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2273' WHERE `compaign_id`=78736 LIMIT 1 


Time Diff : 0.138

Array
(
    [0] => 78744
    [compaign_id] => 78744
    [1] => u29676
    [user_id] => u29676
    [2] => 66324,
    [group_ids] => 66324,
    [3] => 
    [sender_id] => 
    [4] => subhash_bjp_ward14.mp3
    [filename] => subhash_bjp_ward14.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489126
    [start_date] => 1764489126
    [9] => 0
    [end_date] => 0
    [10] => 932
    [total_sms] => 932
    [11] => 932
    [sent_sms] => 932
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 72
    [busy_sms] => 72
    [15] => 0
    [congestion_sms] => 0
    [16] => 163
    [failed_sms] => 163
    [17] => 0
    [hangup_sms] => 0
    [18] => 106
    [no_answer_sms] => 106
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 317
    [cutting_sms] => 317
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 72
    [user_busy_sms] => 72
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 163
    [user_failed_sms] => 163
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 106
    [user_no_answer_sms] => 106
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489126
    [create_date] => 1764489126
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489132,"compaign_read_start_time":1764489136,"compaign_read_complete_time":1764489138,"compaign_send_start_time":1764489182,"compaign_send_complete_time":1764489185}
    [action_time] => {"api_allot_time":1764489132,"compaign_read_start_time":1764489136,"compaign_read_complete_time":1764489138,"compaign_send_start_time":1764489182,"compaign_send_complete_time":1764489185}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78744_30112025_012211PM_865
    [common_name] => u29676_78744_30112025_012211PM_865
    [52] => 1764486638_u29676_voice.wav
    [voice_file] => 1764486638_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66324
    [temp_group_table] => contacts_temp_group_66324
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490621
    [last_credit_update_time] => 1764490621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78744
\compaign_type : Rans per 30.66268 
ans sms 932
dnd sms 193

require answer perrequire answer per : 227

user answer per : 81
below is the redis data 146 UPDATE voice_compaign_detail_78744 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 146 Total Failed : 171 no_answer_count : 58 Busy count :44 congestion_count : 21 failed_count : 48UPDATE voice_compaign_detail_78744 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_78744 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_78744 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78744 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`='227', `user_busy_sms`='116', `user_congestion_sms`='21', `user_failed_sms`='211', `user_hangup_sms`='0', `user_no_answer_sms`='164', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78744 LIMIT 1 


Time Diff : 0.339

Array
(
    [0] => 78751
    [compaign_id] => 78751
    [1] => u29676
    [user_id] => u29676
    [2] => 66336,
    [group_ids] => 66336,
    [3] => 
    [sender_id] => 
    [4] => Kailash_bobde_ward1mp3.mp3
    [filename] => Kailash_bobde_ward1mp3.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489823
    [start_date] => 1764489823
    [9] => 0
    [end_date] => 0
    [10] => 703
    [total_sms] => 703
    [11] => 703
    [sent_sms] => 703
    [12] => 0
    [duplicate_sms] => 0
    [13] => 68
    [answered_sms] => 68
    [14] => 52
    [busy_sms] => 52
    [15] => 1
    [congestion_sms] => 1
    [16] => 70
    [failed_sms] => 70
    [17] => 0
    [hangup_sms] => 0
    [18] => 113
    [no_answer_sms] => 113
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 227
    [cutting_sms] => 227
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 68
    [user_answered_sms] => 68
    [27] => 52
    [user_busy_sms] => 52
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 70
    [user_failed_sms] => 70
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 113
    [user_no_answer_sms] => 113
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489822
    [create_date] => 1764489822
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489831,"compaign_read_start_time":1764489842,"compaign_read_complete_time":1764489844,"compaign_send_start_time":1764489902,"compaign_send_complete_time":1764489908}
    [action_time] => {"api_allot_time":1764489831,"compaign_read_start_time":1764489842,"compaign_read_complete_time":1764489844,"compaign_send_start_time":1764489902,"compaign_send_complete_time":1764489908}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78751_30112025_013350PM_932
    [common_name] => u29676_78751_30112025_013350PM_932
    [52] => 1764489629_u29676_voice.wav
    [voice_file] => 1764489629_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66336
    [temp_group_table] => contacts_temp_group_66336
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490561
    [last_credit_update_time] => 1764490561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78751
\compaign_type : Rans per 30.96744 
ans sms 703
dnd sms 172

require answer perrequire answer per : 165

user answer per : 68
below is the redis data 97 UPDATE voice_compaign_detail_78751 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 97 Total Failed : 130 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_78751 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_78751 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_78751 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78751 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='165', `user_busy_sms`='86', `user_congestion_sms`='17', `user_failed_sms`='106', `user_hangup_sms`='0', `user_no_answer_sms`='157', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78751 LIMIT 1 


Time Diff : 0.34

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08529 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.59486 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.50897 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78732
    [compaign_id] => 78732
    [1] => sr70
    [user_id] => sr70
    [2] => 66306,
    [group_ids] => 66306,
    [3] => 
    [sender_id] => 
    [4] => Tushar Rathod NP.mp3
    [filename] => Tushar Rathod NP.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764488179
    [start_date] => 1764488179
    [9] => 0
    [end_date] => 0
    [10] => 23503
    [total_sms] => 23503
    [11] => 23503
    [sent_sms] => 23503
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2793
    [answered_sms] => 2793
    [14] => 1945
    [busy_sms] => 1945
    [15] => 1
    [congestion_sms] => 1
    [16] => 852
    [failed_sms] => 852
    [17] => 0
    [hangup_sms] => 0
    [18] => 3089
    [no_answer_sms] => 3089
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 9721
    [cutting_sms] => 9721
    [22] => 5102
    [dnd_sms] => 5102
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2793
    [user_answered_sms] => 2793
    [27] => 1945
    [user_busy_sms] => 1945
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 852
    [user_failed_sms] => 852
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3089
    [user_no_answer_sms] => 3089
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 5102
    [user_dnd_sms] => 5102
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr70
    [created_by] => sr70
    [38] => 0
    [isScheduled] => 0
    [39] => 1764488179
    [create_date] => 1764488179
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764488187,"compaign_read_start_time":1764488189,"compaign_read_complete_time":1764488312,"compaign_send_start_time":1764488341,"compaign_send_complete_time":1764488496}
    [action_time] => {"api_allot_time":1764488187,"compaign_read_start_time":1764488189,"compaign_read_complete_time":1764488312,"compaign_send_start_time":1764488341,"compaign_send_complete_time":1764488496}
    [50] => 0
    [compaign_file] => 0
    [51] => sr70_78732_30112025_010624PM_482
    [common_name] => sr70_78732_30112025_010624PM_482
    [52] => 1764486047_sr70_voice_upload.wav
    [voice_file] => 1764486047_sr70_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_66306
    [temp_group_table] => contacts_temp_group_66306
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490621
    [last_credit_update_time] => 1764490621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 163
    [user_voice_plan_id] => 163
    [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":"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,sr70
    [uphierarchy] => admin,sr36,sr70
    [113] => 
    [extra_params_json] => 
)


Compaign : 78732
\compaign_type : Rans per 25.75661 
ans sms 23503
dnd sms 5102

require answer perrequire answer per : 4740

user answer per : 2793
below is the redis data 1947 /n/r
only no answer and busy will be convert, total number require 1947 /n/r
UPDATE voice_compaign_detail_78732 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1519 UPDATE voice_compaign_detail_78732 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1519 Total Failed : 6913 no_answer_count : 2305 Busy count :1774 congestion_count : 821 failed_count : 2013UPDATE voice_compaign_detail_78732 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2305 UPDATE voice_compaign_detail_78732 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1774 UPDATE voice_compaign_detail_78732 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 821 UPDATE voice_compaign_detail_78732 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2013 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='4740', `user_busy_sms`='4484', `user_congestion_sms`='822', `user_failed_sms`='2635', `user_hangup_sms`='0', `user_no_answer_sms`='5720', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='5102' WHERE `compaign_id`=78732 LIMIT 1 


Time Diff : 0.074

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.78171 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.81164 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.4259 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78752
    [compaign_id] => 78752
    [1] => u29676
    [user_id] => u29676
    [2] => 66337,
    [group_ids] => 66337,
    [3] => 
    [sender_id] => 
    [4] => Archanazhlipeward14.mp3
    [filename] => Archanazhlipeward14.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764489883
    [start_date] => 1764489883
    [9] => 0
    [end_date] => 0
    [10] => 1203
    [total_sms] => 1203
    [11] => 1203
    [sent_sms] => 1203
    [12] => 0
    [duplicate_sms] => 0
    [13] => 156
    [answered_sms] => 156
    [14] => 72
    [busy_sms] => 72
    [15] => 3
    [congestion_sms] => 3
    [16] => 173
    [failed_sms] => 173
    [17] => 0
    [hangup_sms] => 0
    [18] => 148
    [no_answer_sms] => 148
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 458
    [cutting_sms] => 458
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 156
    [user_answered_sms] => 156
    [27] => 72
    [user_busy_sms] => 72
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 173
    [user_failed_sms] => 173
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 148
    [user_no_answer_sms] => 148
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764489882
    [create_date] => 1764489882
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764489890,"compaign_read_start_time":1764489901,"compaign_read_complete_time":1764489906,"compaign_send_start_time":1764489962,"compaign_send_complete_time":1764489965}
    [action_time] => {"api_allot_time":1764489890,"compaign_read_start_time":1764489901,"compaign_read_complete_time":1764489906,"compaign_send_start_time":1764489962,"compaign_send_complete_time":1764489965}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78752_30112025_013448PM_227
    [common_name] => u29676_78752_30112025_013448PM_227
    [52] => 1764487515_u29676_voice.wav
    [voice_file] => 1764487515_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66337
    [temp_group_table] => contacts_temp_group_66337
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490682
    [last_credit_update_time] => 1764490682
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78752
\compaign_type : Rans per 26.3506 
ans sms 1203
dnd sms 193

require answer perrequire answer per : 267

user answer per : 156
below is the redis data 111 UPDATE voice_compaign_detail_78752 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 111 Total Failed : 349 no_answer_count : 117 Busy count :90 congestion_count : 42 failed_count : 100UPDATE voice_compaign_detail_78752 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_78752 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_78752 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78752 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`='267', `user_busy_sms`='162', `user_congestion_sms`='43', `user_failed_sms`='273', `user_hangup_sms`='0', `user_no_answer_sms`='265', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78752 LIMIT 1 


Time Diff : 0.259

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.18034 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.35951 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764490562
    [last_credit_update_time] => 1764490562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.94814 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.32267 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.69551 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.70621 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.05815 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.38816 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.11958 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78754
    [compaign_id] => 78754
    [1] => u29676
    [user_id] => u29676
    [2] => 66340,
    [group_ids] => 66340,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764490358
    [start_date] => 1764490358
    [9] => 0
    [end_date] => 0
    [10] => 6158
    [total_sms] => 6158
    [11] => 6158
    [sent_sms] => 6158
    [12] => 0
    [duplicate_sms] => 0
    [13] => 407
    [answered_sms] => 407
    [14] => 382
    [busy_sms] => 382
    [15] => 0
    [congestion_sms] => 0
    [16] => 719
    [failed_sms] => 719
    [17] => 0
    [hangup_sms] => 0
    [18] => 588
    [no_answer_sms] => 588
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2116
    [cutting_sms] => 2116
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 407
    [user_answered_sms] => 407
    [27] => 382
    [user_busy_sms] => 382
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 719
    [user_failed_sms] => 719
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 588
    [user_no_answer_sms] => 588
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764490358
    [create_date] => 1764490358
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764490366,"compaign_read_start_time":1764490367,"compaign_read_complete_time":1764490379,"compaign_send_start_time":1764490382,"compaign_send_complete_time":1764490397}
    [action_time] => {"api_allot_time":1764490366,"compaign_read_start_time":1764490367,"compaign_read_complete_time":1764490379,"compaign_send_start_time":1764490382,"compaign_send_complete_time":1764490397}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78754_30112025_014244PM_186
    [common_name] => u29676_78754_30112025_014244PM_186
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66340
    [temp_group_table] => contacts_temp_group_66340
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490861
    [last_credit_update_time] => 1764490861
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78754
\compaign_type : Rans per 26.2874 
ans sms 6158
dnd sms 1946

require answer perrequire answer per : 1108

user answer per : 407
below is the redis data 701 UPDATE voice_compaign_detail_78754 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 701 Total Failed : 1415 no_answer_count : 472 Busy count :364 congestion_count : 168 failed_count : 411UPDATE voice_compaign_detail_78754 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 472 UPDATE voice_compaign_detail_78754 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 364 UPDATE voice_compaign_detail_78754 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 168 UPDATE voice_compaign_detail_78754 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 411 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1108', `user_busy_sms`='746', `user_congestion_sms`='168', `user_failed_sms`='1130', `user_hangup_sms`='0', `user_no_answer_sms`='1060', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78754 LIMIT 1 


Time Diff : 0.072

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.59448 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.35894 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.5152 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78755
    [compaign_id] => 78755
    [1] => u29676
    [user_id] => u29676
    [2] => 66339,
    [group_ids] => 66339,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764490371
    [start_date] => 1764490371
    [9] => 0
    [end_date] => 0
    [10] => 5004
    [total_sms] => 5004
    [11] => 5004
    [sent_sms] => 5004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 275
    [answered_sms] => 275
    [14] => 331
    [busy_sms] => 331
    [15] => 0
    [congestion_sms] => 0
    [16] => 636
    [failed_sms] => 636
    [17] => 0
    [hangup_sms] => 0
    [18] => 376
    [no_answer_sms] => 376
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1440
    [cutting_sms] => 1440
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 275
    [user_answered_sms] => 275
    [27] => 331
    [user_busy_sms] => 331
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 636
    [user_failed_sms] => 636
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 376
    [user_no_answer_sms] => 376
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764490371
    [create_date] => 1764490371
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764490384,"compaign_read_start_time":1764490385,"compaign_read_complete_time":1764490394,"compaign_send_start_time":1764490442,"compaign_send_complete_time":1764490475}
    [action_time] => {"api_allot_time":1764490384,"compaign_read_start_time":1764490385,"compaign_read_complete_time":1764490394,"compaign_send_start_time":1764490442,"compaign_send_complete_time":1764490475}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78755_30112025_014302PM_794
    [common_name] => u29676_78755_30112025_014302PM_794
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66339
    [temp_group_table] => contacts_temp_group_66339
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764490922
    [last_credit_update_time] => 1764490922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78755
\compaign_type : Rans per 29.71455 
ans sms 5004
dnd sms 1946

require answer perrequire answer per : 909

user answer per : 275
below is the redis data 634 UPDATE voice_compaign_detail_78755 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 634 Total Failed : 806 no_answer_count : 269 Busy count :207 congestion_count : 96 failed_count : 234UPDATE voice_compaign_detail_78755 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 269 UPDATE voice_compaign_detail_78755 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 207 UPDATE voice_compaign_detail_78755 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_78755 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 234 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='909', `user_busy_sms`='538', `user_congestion_sms`='96', `user_failed_sms`='870', `user_hangup_sms`='0', `user_no_answer_sms`='645', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78755 LIMIT 1 


Time Diff : 0.083

Array
(
    [0] => 78757
    [compaign_id] => 78757
    [1] => u29673
    [user_id] => u29673
    [2] => 66341,
    [group_ids] => 66341,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764490623
    [start_date] => 1764490623
    [9] => 0
    [end_date] => 0
    [10] => 272
    [total_sms] => 272
    [11] => 272
    [sent_sms] => 272
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21
    [cutting_sms] => 21
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764490623
    [create_date] => 1764490623
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764490631,"compaign_read_start_time":1764490633,"compaign_read_complete_time":1764490634,"compaign_send_start_time":1764490682,"compaign_send_complete_time":1764490683}
    [action_time] => {"api_allot_time":1764490631,"compaign_read_start_time":1764490633,"compaign_read_complete_time":1764490634,"compaign_send_start_time":1764490682,"compaign_send_complete_time":1764490683}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78757_30112025_014709PM_336
    [common_name] => u29673_78757_30112025_014709PM_336
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66341
    [temp_group_table] => contacts_temp_group_66341
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490922
    [last_credit_update_time] => 1764490922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78757
\compaign_type : Rans per 30.46551 
ans sms 272
dnd sms 185

require answer perrequire answer per : 27

user answer per : 5
below is the redis data 22 UPDATE voice_compaign_detail_78757 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 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`='26', `user_busy_sms`='29', `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`='185' WHERE `compaign_id`=78757 LIMIT 1 


Time Diff : 1.007

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.70553 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.86213 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 74
    [credit_seq] => 74
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764490803
    [last_credit_update_time] => 1764490803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.50828 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231902'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.38852 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.05229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.4769 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764231961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.84284 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.36668 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.35601 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78759
    [compaign_id] => 78759
    [1] => u20720
    [user_id] => u20720
    [2] => 66342,
    [group_ids] => 66342,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764490840
    [start_date] => 1764490840
    [9] => 0
    [end_date] => 0
    [10] => 3748
    [total_sms] => 3748
    [11] => 3748
    [sent_sms] => 3748
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 71
    [busy_sms] => 71
    [15] => 0
    [congestion_sms] => 0
    [16] => 113
    [failed_sms] => 113
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 191
    [cutting_sms] => 191
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 71
    [user_busy_sms] => 71
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 113
    [user_failed_sms] => 113
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764490838
    [create_date] => 1764490838
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764490847,"compaign_read_start_time":1764490849,"compaign_read_complete_time":1764490859,"compaign_send_start_time":1764490861,"compaign_send_complete_time":1764490873}
    [action_time] => {"api_allot_time":1764490847,"compaign_read_start_time":1764490849,"compaign_read_complete_time":1764490859,"compaign_send_start_time":1764490861,"compaign_send_complete_time":1764490873}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78759_30112025_015046PM_975
    [common_name] => u20720_78759_30112025_015046PM_975
    [52] => 1764490838_u20720_voice.wav
    [voice_file] => 1764490838_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66342
    [temp_group_table] => contacts_temp_group_66342
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491102
    [last_credit_update_time] => 1764491102
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78759
\compaign_type : Rans per 29.70976 
ans sms 3748
dnd sms 3344

require answer perrequire answer per : 121

user answer per : 5
below is the redis data 116 UPDATE voice_compaign_detail_78759 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 116 Total Failed : 75 no_answer_count : 26 Busy count :20 congestion_count : 9 failed_count : 20UPDATE voice_compaign_detail_78759 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_78759 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78759 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78759 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`='121', `user_busy_sms`='91', `user_congestion_sms`='9', `user_failed_sms`='133', `user_hangup_sms`='0', `user_no_answer_sms`='50', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78759 LIMIT 1 


Time Diff : 0.073

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.0241 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.2966 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.39298 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.01791 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.53732 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 75
    [credit_seq] => 75
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491042
    [last_credit_update_time] => 1764491042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.76834 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.37759 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.50337 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.42522 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232202'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.17804 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.32276 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.23996 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.77577 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.36324 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.24986 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.12528 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.52199 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 76
    [credit_seq] => 76
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491283
    [last_credit_update_time] => 1764491283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.32242 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.27654 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.39192 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.61244 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78763
    [compaign_id] => 78763
    [1] => u29673
    [user_id] => u29673
    [2] => 66345,
    [group_ids] => 66345,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764491241
    [start_date] => 1764491241
    [9] => 0
    [end_date] => 0
    [10] => 246
    [total_sms] => 246
    [11] => 246
    [sent_sms] => 246
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 7
    [cutting_sms] => 7
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764491241
    [create_date] => 1764491241
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764491250,"compaign_read_start_time":1764491252,"compaign_read_complete_time":1764491252,"compaign_send_start_time":1764491282,"compaign_send_complete_time":1764491283}
    [action_time] => {"api_allot_time":1764491250,"compaign_read_start_time":1764491252,"compaign_read_complete_time":1764491252,"compaign_send_start_time":1764491282,"compaign_send_complete_time":1764491283}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78763_30112025_015727PM_944
    [common_name] => u29673_78763_30112025_015727PM_944
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66345
    [temp_group_table] => contacts_temp_group_66345
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491522
    [last_credit_update_time] => 1764491522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78763
\compaign_type : Rans per 26.58117 
ans sms 246
dnd sms 185

require answer perrequire answer per : 17

user answer per : 0
below is the redis data 17 UPDATE voice_compaign_detail_78763 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7', `user_busy_sms`='25', `user_congestion_sms`='0', `user_failed_sms`='19', `user_hangup_sms`='0', `user_no_answer_sms`='10', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78763 LIMIT 1 


Time Diff : 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>'1764232441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.64191 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.48954 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.95819 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232502'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.05182 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.06907 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.45889 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.36613 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.32851 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 77
    [credit_seq] => 77
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491523
    [last_credit_update_time] => 1764491523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.53238 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 77936
    [compaign_id] => 77936
    [1] => r137
    [user_id] => r137
    [2] => 65652,
    [group_ids] => 65652,
    [3] => 
    [sender_id] => 
    [4] => 01.mp3
    [filename] => 01.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764491400
    [start_date] => 1764491400
    [9] => 0
    [end_date] => 0
    [10] => 551
    [total_sms] => 551
    [11] => 551
    [sent_sms] => 551
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 119
    [failed_sms] => 119
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 237
    [cutting_sms] => 237
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 119
    [user_failed_sms] => 119
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764325032
    [create_date] => 1764325032
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764491407,"compaign_read_start_time":1764491408,"compaign_read_complete_time":1764491408,"compaign_send_start_time":1764491461,"compaign_send_complete_time":1764491463}
    [action_time] => {"api_allot_time":1764491407,"compaign_read_start_time":1764491408,"compaign_read_complete_time":1764491408,"compaign_send_start_time":1764491461,"compaign_send_complete_time":1764491463}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_77936_30112025_020006PM_289
    [common_name] => r137_77936_30112025_020006PM_289
    [52] => 1764148020_r137_voice.wav
    [voice_file] => 1764148020_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65652
    [temp_group_table] => contacts_temp_group_65652
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764491703
    [reschedule_last_check_time] => 1764491703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491702
    [last_credit_update_time] => 1764491702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764493200}
    [rt_time] => {"1":1764493200}
    [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":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 77936
\compaign_type : Rans per 29.98174 
ans sms 551
dnd sms 0

require answer perrequire answer per : 166

user answer per : 81
below is the redis data 85 UPDATE voice_compaign_detail_77936 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 85 Total Failed : 152 no_answer_count : 51 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_77936 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_77936 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_77936 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_77936 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`='166', `user_busy_sms`='77', `user_congestion_sms`='19', `user_failed_sms`='161', `user_hangup_sms`='0', `user_no_answer_sms`='128', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=77936 LIMIT 1 


Time Diff : 0.446

Array
(
    [0] => 78724
    [compaign_id] => 78724
    [1] => u179
    [user_id] => u179
    [2] => 66305,
    [group_ids] => 66305,
    [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] => 1764491400
    [start_date] => 1764491400
    [9] => 0
    [end_date] => 0
    [10] => 106
    [total_sms] => 106
    [11] => 106
    [sent_sms] => 106
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 11
    [failed_sms] => 11
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 11
    [user_failed_sms] => 11
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 25
    [user_no_answer_sms] => 25
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764487923
    [create_date] => 1764487923
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764491408,"compaign_read_start_time":1764491411,"compaign_read_complete_time":1764491411,"compaign_send_start_time":1764491461,"compaign_send_complete_time":1764491462}
    [action_time] => {"api_allot_time":1764491408,"compaign_read_start_time":1764491411,"compaign_read_complete_time":1764491411,"compaign_send_start_time":1764491461,"compaign_send_complete_time":1764491462}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78724_30112025_020006PM_594
    [common_name] => u179_78724_30112025_020006PM_594
    [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_66305
    [temp_group_table] => contacts_temp_group_66305
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764491702
    [last_credit_update_time] => 1764491702
    [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 : 78724
\compaign_type : Rans per 30.88086 
ans sms 106
dnd sms 26

require answer perrequire answer per : 25

user answer per : 16
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_78724 SET user_report='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_78724 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='25', `user_busy_sms`='30', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78724 LIMIT 1 


Time Diff : 2.575

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.10243 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.9055 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.81325 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 77922
    [compaign_id] => 77922
    [1] => r137
    [user_id] => r137
    [2] => 65638,
    [group_ids] => 65638,
    [3] => 
    [sender_id] => 
    [4] => Daund 2 Edited Final.mp3
    [filename] => Daund 2 Edited Final.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764491400
    [start_date] => 1764491400
    [9] => 0
    [end_date] => 0
    [10] => 2359
    [total_sms] => 2359
    [11] => 2359
    [sent_sms] => 2359
    [12] => 0
    [duplicate_sms] => 0
    [13] => 171
    [answered_sms] => 171
    [14] => 201
    [busy_sms] => 201
    [15] => 0
    [congestion_sms] => 0
    [16] => 585
    [failed_sms] => 585
    [17] => 0
    [hangup_sms] => 0
    [18] => 293
    [no_answer_sms] => 293
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1109
    [cutting_sms] => 1109
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 171
    [user_answered_sms] => 171
    [27] => 201
    [user_busy_sms] => 201
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 585
    [user_failed_sms] => 585
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 293
    [user_no_answer_sms] => 293
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764324130
    [create_date] => 1764324130
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764491408,"compaign_read_start_time":1764491461,"compaign_read_complete_time":1764491465,"compaign_send_start_time":1764491522,"compaign_send_complete_time":1764491537}
    [action_time] => {"api_allot_time":1764491408,"compaign_read_start_time":1764491461,"compaign_read_complete_time":1764491465,"compaign_send_start_time":1764491522,"compaign_send_complete_time":1764491537}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_77922_30112025_020006PM_185
    [common_name] => r137_77922_30112025_020006PM_185
    [52] => 1763969803_r137_voice.wav
    [voice_file] => 1763969803_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65638
    [temp_group_table] => contacts_temp_group_65638
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FTD,FTR,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764491703
    [reschedule_last_check_time] => 1764491703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491761
    [last_credit_update_time] => 1764491761
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764493200}
    [rt_time] => {"1":1764493200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 77922
\compaign_type : Rans per 28.74483 
ans sms 2359
dnd sms 0

require answer perrequire answer per : 679

user answer per : 171
below is the redis data 508 UPDATE voice_compaign_detail_77922 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 508 Total Failed : 601 no_answer_count : 201 Busy count :155 congestion_count : 72 failed_count : 173UPDATE voice_compaign_detail_77922 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 201 UPDATE voice_compaign_detail_77922 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_77922 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_77922 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 173 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='679', `user_busy_sms`='356', `user_congestion_sms`='72', `user_failed_sms`='758', `user_hangup_sms`='0', `user_no_answer_sms`='494', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=77922 LIMIT 1 


Time Diff : 0.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>'1764232682'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.27768 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.79921 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.86766 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.98644 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.95554 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.84296 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.61306 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.33555 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 78
    [credit_seq] => 78
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764491762
    [last_credit_update_time] => 1764491762
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.60621 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.89078 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.28862 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07322 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.37202 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.54463 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.50761 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764232981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.26832 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.90007 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.14438 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78766
    [compaign_id] => 78766
    [1] => u20720
    [user_id] => u20720
    [2] => 66349,
    [group_ids] => 66349,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764491894
    [start_date] => 1764491894
    [9] => 0
    [end_date] => 0
    [10] => 3627
    [total_sms] => 3627
    [11] => 3627
    [sent_sms] => 3627
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 56
    [busy_sms] => 56
    [15] => 0
    [congestion_sms] => 0
    [16] => 82
    [failed_sms] => 82
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 129
    [cutting_sms] => 129
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764491893
    [create_date] => 1764491893
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764491901,"compaign_read_start_time":1764491903,"compaign_read_complete_time":1764491909,"compaign_send_start_time":1764491942,"compaign_send_complete_time":1764491943}
    [action_time] => {"api_allot_time":1764491901,"compaign_read_start_time":1764491903,"compaign_read_complete_time":1764491909,"compaign_send_start_time":1764491942,"compaign_send_complete_time":1764491943}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78766_30112025_020820PM_613
    [common_name] => u20720_78766_30112025_020820PM_613
    [52] => 1764491893_u20720_voice.wav
    [voice_file] => 1764491893_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66349
    [temp_group_table] => contacts_temp_group_66349
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492181
    [last_credit_update_time] => 1764492181
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78766
\compaign_type : Rans per 26.84134 
ans sms 3627
dnd sms 3344

require answer perrequire answer per : 76

user answer per : 2
below is the redis data 74 UPDATE voice_compaign_detail_78766 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 74 Total Failed : 55 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_78766 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78766 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78766 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78766 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`='76', `user_busy_sms`='71', `user_congestion_sms`='7', `user_failed_sms`='96', `user_hangup_sms`='0', `user_no_answer_sms`='33', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78766 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>'1764233041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.0043 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.4869 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 79
    [credit_seq] => 79
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492003
    [last_credit_update_time] => 1764492003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.87717 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233102'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.01578 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.62073 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.14662 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233161'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.55652 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.13138 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.11882 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.74517 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.32516 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.50069 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.94941 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.525 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 80
    [credit_seq] => 80
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492242
    [last_credit_update_time] => 1764492242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.27404 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.32353 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.92905 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.55067 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.38474 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.08506 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.08046 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233462'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.45213 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.55934 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.27177 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.47058 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.30843 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 81
    [credit_seq] => 81
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492483
    [last_credit_update_time] => 1764492483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.62775 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78770
    [compaign_id] => 78770
    [1] => u179
    [user_id] => u179
    [2] => 66353,
    [group_ids] => 66353,
    [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] => 1764492300
    [start_date] => 1764492300
    [9] => 0
    [end_date] => 0
    [10] => 81
    [total_sms] => 81
    [11] => 81
    [sent_sms] => 81
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 11
    [failed_sms] => 11
    [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] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [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] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764492122
    [create_date] => 1764492122
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764492307,"compaign_read_start_time":1764492361,"compaign_read_complete_time":1764492363,"compaign_send_start_time":1764492422,"compaign_send_complete_time":1764492422}
    [action_time] => {"api_allot_time":1764492307,"compaign_read_start_time":1764492361,"compaign_read_complete_time":1764492363,"compaign_send_start_time":1764492422,"compaign_send_complete_time":1764492422}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78770_30112025_021505PM_945
    [common_name] => u179_78770_30112025_021505PM_945
    [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_66353
    [temp_group_table] => contacts_temp_group_66353
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764492662
    [last_credit_update_time] => 1764492662
    [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 : 78770
\compaign_type : Rans per 30.07569 
ans sms 81
dnd sms 26

require answer perrequire answer per : 17

user answer per : 5
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_78770 SET user_report='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_78770 SET user_report='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`='17', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78770 LIMIT 1 


Time Diff : 3.049

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.06018 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.486 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.51497 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.2758 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.92082 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.25802 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.68311 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.43959 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.12355 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.77213 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.34316 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 82
    [credit_seq] => 82
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492722
    [last_credit_update_time] => 1764492722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.2929 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.82431 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.91068 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.31131 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.43186 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.18916 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.00567 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764233941'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.68778 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.10054 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.0108 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.12259 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.4501 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 83
    [credit_seq] => 83
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764492962
    [last_credit_update_time] => 1764492962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.27206 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78780
    [compaign_id] => 78780
    [1] => sr302
    [user_id] => sr302
    [2] => 66362,
    [group_ids] => 66362,
    [3] => 
    [sender_id] => 
    [4] => 1529.mp3
    [filename] => 1529.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764492995
    [start_date] => 1764492995
    [9] => 0
    [end_date] => 0
    [10] => 763
    [total_sms] => 763
    [11] => 763
    [sent_sms] => 763
    [12] => 0
    [duplicate_sms] => 0
    [13] => 86
    [answered_sms] => 86
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 58
    [failed_sms] => 58
    [17] => 0
    [hangup_sms] => 0
    [18] => 105
    [no_answer_sms] => 105
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 257
    [cutting_sms] => 257
    [22] => 212
    [dnd_sms] => 212
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 86
    [user_answered_sms] => 86
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 58
    [user_failed_sms] => 58
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 105
    [user_no_answer_sms] => 105
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 212
    [user_dnd_sms] => 212
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr302
    [created_by] => sr302
    [38] => 0
    [isScheduled] => 0
    [39] => 1764492995
    [create_date] => 1764492995
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493003,"compaign_read_start_time":1764493006,"compaign_read_complete_time":1764493008,"compaign_send_start_time":1764493022,"compaign_send_complete_time":1764493023}
    [action_time] => {"api_allot_time":1764493003,"compaign_read_start_time":1764493006,"compaign_read_complete_time":1764493008,"compaign_send_start_time":1764493022,"compaign_send_complete_time":1764493023}
    [50] => 0
    [compaign_file] => 0
    [51] => sr302_78780_30112025_022641PM_548
    [common_name] => sr302_78780_30112025_022641PM_548
    [52] => 1764492994_sr302_voice.wav
    [voice_file] => 1764492994_sr302_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66362
    [temp_group_table] => contacts_temp_group_66362
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493202
    [last_credit_update_time] => 1764493202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1756
    [user_voice_plan_id] => 1756
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,sr302
    [uphierarchy] => admin,sr3,sr302
    [113] => 
    [extra_params_json] => 
)


Compaign : 78780
\compaign_type : Rans per 27.03267 
ans sms 763
dnd sms 212

require answer perrequire answer per : 149

user answer per : 86
below is the redis data 63 UPDATE voice_compaign_detail_78780 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 63 Total Failed : 194 no_answer_count : 65 Busy count :50 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_78780 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_78780 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_78780 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_78780 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`='149', `user_busy_sms`='95', `user_congestion_sms`='24', `user_failed_sms`='113', `user_hangup_sms`='0', `user_no_answer_sms`='170', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='212' WHERE `compaign_id`=78780 LIMIT 1 


Time Diff : 0.165

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.36856 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29449
    [total_sms] => 29449
    [11] => 29449
    [sent_sms] => 29449
    [12] => 0
    [duplicate_sms] => 0
    [13] => 89
    [answered_sms] => 89
    [14] => 11053
    [busy_sms] => 11053
    [15] => 22
    [congestion_sms] => 22
    [16] => 17082
    [failed_sms] => 17082
    [17] => 0
    [hangup_sms] => 0
    [18] => 1203
    [no_answer_sms] => 1203
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 89
    [user_answered_sms] => 89
    [27] => 11053
    [user_busy_sms] => 11053
    [28] => 22
    [user_congestion_sms] => 22
    [29] => 17082
    [user_failed_sms] => 17082
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1203
    [user_no_answer_sms] => 1203
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.93788 
ans sms 29449
dnd sms 0

require answer perrequire answer per : 7933

user answer per : 89
below is the redis data 7844 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7844 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='111', `user_busy_sms`='11053', `user_congestion_sms`='0', `user_failed_sms`='17082', `user_hangup_sms`='0', `user_no_answer_sms`='1203', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.247

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.3423 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.97303 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.22986 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.51426 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.02754 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.59797 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.79879 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.91659 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78777
    [compaign_id] => 78777
    [1] => u29672
    [user_id] => u29672
    [2] => 66359,
    [group_ids] => 66359,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764492413
    [start_date] => 1764492413
    [9] => 0
    [end_date] => 0
    [10] => 13002
    [total_sms] => 13002
    [11] => 13002
    [sent_sms] => 13002
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1231
    [answered_sms] => 1231
    [14] => 726
    [busy_sms] => 726
    [15] => 0
    [congestion_sms] => 0
    [16] => 3442
    [failed_sms] => 3442
    [17] => 0
    [hangup_sms] => 0
    [18] => 1409
    [no_answer_sms] => 1409
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6194
    [cutting_sms] => 6194
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1231
    [user_answered_sms] => 1231
    [27] => 726
    [user_busy_sms] => 726
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 3442
    [user_failed_sms] => 3442
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1409
    [user_no_answer_sms] => 1409
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764492407
    [create_date] => 1764492407
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764492551,"compaign_read_start_time":1764492553,"compaign_read_complete_time":1764492577,"compaign_send_start_time":1764492602,"compaign_send_complete_time":1764492683}
    [action_time] => {"api_allot_time":1764492551,"compaign_read_start_time":1764492553,"compaign_read_complete_time":1764492577,"compaign_send_start_time":1764492602,"compaign_send_complete_time":1764492683}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78777_30112025_021702PM_740
    [common_name] => u29672_78777_30112025_021702PM_740
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66359
    [temp_group_table] => contacts_temp_group_66359
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764493203
    [reschedule_last_check_time] => 1764493203
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493322
    [last_credit_update_time] => 1764493322
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78777
\compaign_type : Rans per 30.17377 
ans sms 13002
dnd sms 0

require answer perrequire answer per : 3924

user answer per : 1231
below is the redis data 2693 UPDATE voice_compaign_detail_78777 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2693 Total Failed : 3501 no_answer_count : 1168 Busy count :899 congestion_count : 416 failed_count : 1018UPDATE voice_compaign_detail_78777 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1168 UPDATE voice_compaign_detail_78777 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 899 UPDATE voice_compaign_detail_78777 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 416 UPDATE voice_compaign_detail_78777 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1018 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3924', `user_busy_sms`='1625', `user_congestion_sms`='416', `user_failed_sms`='4460', `user_hangup_sms`='0', `user_no_answer_sms`='2577', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78777 LIMIT 1 


Time Diff : 0.056

Array
(
    [0] => 78785
    [compaign_id] => 78785
    [1] => sr302
    [user_id] => sr302
    [2] => 66367,
    [group_ids] => 66367,
    [3] => 
    [sender_id] => 
    [4] => 1528.mp3
    [filename] => 1528.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493027
    [start_date] => 1764493027
    [9] => 0
    [end_date] => 0
    [10] => 1018
    [total_sms] => 1018
    [11] => 1018
    [sent_sms] => 1018
    [12] => 0
    [duplicate_sms] => 0
    [13] => 135
    [answered_sms] => 135
    [14] => 63
    [busy_sms] => 63
    [15] => 0
    [congestion_sms] => 0
    [16] => 102
    [failed_sms] => 102
    [17] => 0
    [hangup_sms] => 0
    [18] => 131
    [no_answer_sms] => 131
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 334
    [cutting_sms] => 334
    [22] => 253
    [dnd_sms] => 253
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 135
    [user_answered_sms] => 135
    [27] => 63
    [user_busy_sms] => 63
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 102
    [user_failed_sms] => 102
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 131
    [user_no_answer_sms] => 131
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 253
    [user_dnd_sms] => 253
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr302
    [created_by] => sr302
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493027
    [create_date] => 1764493027
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493035,"compaign_read_start_time":1764493036,"compaign_read_complete_time":1764493039,"compaign_send_start_time":1764493082,"compaign_send_complete_time":1764493085}
    [action_time] => {"api_allot_time":1764493035,"compaign_read_start_time":1764493036,"compaign_read_complete_time":1764493039,"compaign_send_start_time":1764493082,"compaign_send_complete_time":1764493085}
    [50] => 0
    [compaign_file] => 0
    [51] => sr302_78785_30112025_022713PM_422
    [common_name] => sr302_78785_30112025_022713PM_422
    [52] => 1764493027_sr302_voice.wav
    [voice_file] => 1764493027_sr302_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66367
    [temp_group_table] => contacts_temp_group_66367
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493322
    [last_credit_update_time] => 1764493322
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1756
    [user_voice_plan_id] => 1756
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,sr302
    [uphierarchy] => admin,sr3,sr302
    [113] => 
    [extra_params_json] => 
)


Compaign : 78785
\compaign_type : Rans per 28.39638 
ans sms 1018
dnd sms 253

require answer perrequire answer per : 218

user answer per : 135
below is the redis data 83 UPDATE voice_compaign_detail_78785 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 83 Total Failed : 251 no_answer_count : 84 Busy count :65 congestion_count : 30 failed_count : 72UPDATE voice_compaign_detail_78785 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_78785 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_78785 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_78785 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='218', `user_busy_sms`='128', `user_congestion_sms`='30', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='215', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='253' WHERE `compaign_id`=78785 LIMIT 1 


Time Diff : 0.275

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.85131 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.75329 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 84
    [credit_seq] => 84
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493203
    [last_credit_update_time] => 1764493203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.88051 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78779
    [compaign_id] => 78779
    [1] => sr302
    [user_id] => sr302
    [2] => 66361,
    [group_ids] => 66361,
    [3] => 
    [sender_id] => 
    [4] => 1530.mp3
    [filename] => 1530.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764492950
    [start_date] => 1764492950
    [9] => 0
    [end_date] => 0
    [10] => 762
    [total_sms] => 762
    [11] => 762
    [sent_sms] => 762
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 163
    [failed_sms] => 163
    [17] => 0
    [hangup_sms] => 0
    [18] => 90
    [no_answer_sms] => 90
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 247
    [cutting_sms] => 247
    [22] => 212
    [dnd_sms] => 212
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 163
    [user_failed_sms] => 163
    [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] => 212
    [user_dnd_sms] => 212
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr302
    [created_by] => sr302
    [38] => 0
    [isScheduled] => 0
    [39] => 1764492950
    [create_date] => 1764492950
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493091,"compaign_read_start_time":1764493142,"compaign_read_complete_time":1764493143,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493204}
    [action_time] => {"api_allot_time":1764493091,"compaign_read_start_time":1764493142,"compaign_read_complete_time":1764493143,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493204}
    [50] => 0
    [compaign_file] => 0
    [51] => sr302_78779_30112025_022601PM_744
    [common_name] => sr302_78779_30112025_022601PM_744
    [52] => 1764492950_sr302_voice.wav
    [voice_file] => 1764492950_sr302_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66361
    [temp_group_table] => contacts_temp_group_66361
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493441
    [last_credit_update_time] => 1764493441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1756
    [user_voice_plan_id] => 1756
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,sr302
    [uphierarchy] => admin,sr3,sr302
    [113] => 
    [extra_params_json] => 
)


Compaign : 78779
\compaign_type : Rans per 30.87747 
ans sms 762
dnd sms 212

require answer perrequire answer per : 170

user answer per : 1
below is the redis data 169 UPDATE voice_compaign_detail_78779 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 169 Total Failed : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_78779 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78779 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78779 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78779 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`='170', `user_busy_sms`='70', `user_congestion_sms`='10', `user_failed_sms`='183', `user_hangup_sms`='0', `user_no_answer_sms`='117', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='212' WHERE `compaign_id`=78779 LIMIT 1 


Time Diff : 0.278

Array
(
    [0] => 78787
    [compaign_id] => 78787
    [1] => u20720
    [user_id] => u20720
    [2] => 66369,
    [group_ids] => 66369,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493150
    [start_date] => 1764493150
    [9] => 0
    [end_date] => 0
    [10] => 3551
    [total_sms] => 3551
    [11] => 3551
    [sent_sms] => 3551
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 67
    [failed_sms] => 67
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 86
    [cutting_sms] => 86
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 67
    [user_failed_sms] => 67
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493149
    [create_date] => 1764493149
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493157,"compaign_read_start_time":1764493159,"compaign_read_complete_time":1764493167,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493263}
    [action_time] => {"api_allot_time":1764493157,"compaign_read_start_time":1764493159,"compaign_read_complete_time":1764493167,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493263}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78787_30112025_022915PM_861
    [common_name] => u20720_78787_30112025_022915PM_861
    [52] => 1764493149_u20720_voice.wav
    [voice_file] => 1764493149_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66369
    [temp_group_table] => contacts_temp_group_66369
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493441
    [last_credit_update_time] => 1764493441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78787
\compaign_type : Rans per 26.56502 
ans sms 3551
dnd sms 3344

require answer perrequire answer per : 55

user answer per : 3
below is the redis data 52 UPDATE voice_compaign_detail_78787 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 Total Failed : 34 no_answer_count : 12 Busy count :9 congestion_count : 5 failed_count : 8UPDATE voice_compaign_detail_78787 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78787 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78787 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_78787 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`='55', `user_busy_sms`='50', `user_congestion_sms`='5', `user_failed_sms`='75', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78787 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>'1764234301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.03147 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.20471 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.0982 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78788
    [compaign_id] => 78788
    [1] => u29687
    [user_id] => u29687
    [2] => 66370,
    [group_ids] => 66370,
    [3] => 
    [sender_id] => 
    [4] => Anil Walmik Chaudhari Voice Call .mp3
    [filename] => Anil Walmik Chaudhari Voice Call .mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493162
    [start_date] => 1764493162
    [9] => 0
    [end_date] => 0
    [10] => 3434
    [total_sms] => 3434
    [11] => 3434
    [sent_sms] => 3434
    [12] => 0
    [duplicate_sms] => 0
    [13] => 352
    [answered_sms] => 352
    [14] => 220
    [busy_sms] => 220
    [15] => 0
    [congestion_sms] => 0
    [16] => 232
    [failed_sms] => 232
    [17] => 0
    [hangup_sms] => 0
    [18] => 393
    [no_answer_sms] => 393
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1322
    [cutting_sms] => 1322
    [22] => 915
    [dnd_sms] => 915
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 352
    [user_answered_sms] => 352
    [27] => 220
    [user_busy_sms] => 220
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 232
    [user_failed_sms] => 232
    [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] => 915
    [user_dnd_sms] => 915
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29687
    [created_by] => u29687
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493160
    [create_date] => 1764493160
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493169,"compaign_read_start_time":1764493171,"compaign_read_complete_time":1764493178,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493208}
    [action_time] => {"api_allot_time":1764493169,"compaign_read_start_time":1764493171,"compaign_read_complete_time":1764493178,"compaign_send_start_time":1764493202,"compaign_send_complete_time":1764493208}
    [50] => 0
    [compaign_file] => 0
    [51] => u29687_78788_30112025_022927PM_260
    [common_name] => u29687_78788_30112025_022927PM_260
    [52] => 1764482765_u29687_voice.wav
    [voice_file] => 1764482765_u29687_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66370
    [temp_group_table] => contacts_temp_group_66370
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493441
    [last_credit_update_time] => 1764493441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1894
    [user_voice_plan_id] => 1894
    [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,sr309,u29687
    [uphierarchy] => admin,sr53,sr78,sr309,u29687
    [113] => 
    [extra_params_json] => 
)


Compaign : 78788
\compaign_type : Rans per 30.00277 
ans sms 3434
dnd sms 915

require answer perrequire answer per : 756

user answer per : 352
below is the redis data 404 UPDATE voice_compaign_detail_78788 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 404 Total Failed : 918 no_answer_count : 307 Busy count :236 congestion_count : 109 failed_count : 266UPDATE voice_compaign_detail_78788 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 307 UPDATE voice_compaign_detail_78788 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 236 UPDATE voice_compaign_detail_78788 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 109 UPDATE voice_compaign_detail_78788 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`='756', `user_busy_sms`='456', `user_congestion_sms`='109', `user_failed_sms`='498', `user_hangup_sms`='0', `user_no_answer_sms`='700', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='915' WHERE `compaign_id`=78788 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>'1764234362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.35122 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.10183 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.35168 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78789
    [compaign_id] => 78789
    [1] => u371
    [user_id] => u371
    [2] => 66371,
    [group_ids] => 66371,
    [3] => 
    [sender_id] => 
    [4] => VIJAY ALOOR NEW.mp3(2)
    [filename] => VIJAY ALOOR NEW.mp3(2)
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493189
    [start_date] => 1764493189
    [9] => 0
    [end_date] => 0
    [10] => 485
    [total_sms] => 485
    [11] => 485
    [sent_sms] => 485
    [12] => 0
    [duplicate_sms] => 0
    [13] => 102
    [answered_sms] => 102
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 206
    [cutting_sms] => 206
    [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] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493189
    [create_date] => 1764493189
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493205,"compaign_read_start_time":1764493208,"compaign_read_complete_time":1764493208,"compaign_send_start_time":1764493261,"compaign_send_complete_time":1764493263}
    [action_time] => {"api_allot_time":1764493205,"compaign_read_start_time":1764493208,"compaign_read_complete_time":1764493208,"compaign_send_start_time":1764493261,"compaign_send_complete_time":1764493263}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_78789_30112025_023002PM_771
    [common_name] => u371_78789_30112025_023002PM_771
    [52] => 1764493069_u371_voice.wav
    [voice_file] => 1764493069_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66371
    [temp_group_table] => contacts_temp_group_66371
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493501
    [last_credit_update_time] => 1764493501
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 78789
\compaign_type : Rans per 29.29813 
ans sms 485
dnd sms 0

require answer perrequire answer per : 143

user answer per : 102
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_78789 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78789 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 156 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 43UPDATE voice_compaign_detail_78789 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_78789 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_78789 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78789 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`='143', `user_busy_sms`='102', `user_congestion_sms`='19', `user_failed_sms`='104', `user_hangup_sms`='0', `user_no_answer_sms`='117', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78789 LIMIT 1 


Time Diff : 0.565

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.9892 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.67551 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.65524 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78771
    [compaign_id] => 78771
    [1] => r137
    [user_id] => r137
    [2] => 66355,
    [group_ids] => 66355,
    [3] => 
    [sender_id] => 
    [4] => 01.mp3
    [filename] => 01.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493200
    [start_date] => 1764493200
    [9] => 0
    [end_date] => 0
    [10] => 385
    [total_sms] => 385
    [11] => 385
    [sent_sms] => 385
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 106
    [failed_sms] => 106
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 152
    [cutting_sms] => 152
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 106
    [user_failed_sms] => 106
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764492124
    [create_date] => 1764492124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493261,"compaign_read_complete_time":1764493262,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493384}
    [action_time] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493261,"compaign_read_complete_time":1764493262,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493384}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_78771_30112025_023006PM_194
    [common_name] => r137_78771_30112025_023006PM_194
    [52] => 1764148020_r137_voice.wav
    [voice_file] => 1764148020_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66355
    [temp_group_table] => contacts_temp_group_66355
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493562
    [last_credit_update_time] => 1764493562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 78771
\compaign_type : Rans per 26.87467 
ans sms 385
dnd sms 0

require answer perrequire answer per : 104

user answer per : 35
below is the redis data 69 UPDATE voice_compaign_detail_78771 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 69 Total Failed : 83 no_answer_count : 28 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_78771 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78771 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78771 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78771 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`='104', `user_busy_sms`='64', `user_congestion_sms`='10', `user_failed_sms`='129', `user_hangup_sms`='0', `user_no_answer_sms`='78', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78771 LIMIT 1 


Time Diff : 0.553

Array
(
    [0] => 78772
    [compaign_id] => 78772
    [1] => r137
    [user_id] => r137
    [2] => 66354,
    [group_ids] => 66354,
    [3] => 
    [sender_id] => 
    [4] => Daund 2 Edited Final.mp3
    [filename] => Daund 2 Edited Final.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493200
    [start_date] => 1764493200
    [9] => 0
    [end_date] => 0
    [10] => 850
    [total_sms] => 850
    [11] => 850
    [sent_sms] => 850
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 121
    [busy_sms] => 121
    [15] => 0
    [congestion_sms] => 0
    [16] => 98
    [failed_sms] => 98
    [17] => 0
    [hangup_sms] => 0
    [18] => 163
    [no_answer_sms] => 163
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 401
    [cutting_sms] => 401
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 121
    [user_busy_sms] => 121
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 98
    [user_failed_sms] => 98
    [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] => r137
    [created_by] => r137
    [38] => 1
    [isScheduled] => 1
    [39] => 1764492134
    [create_date] => 1764492134
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493264,"compaign_read_complete_time":1764493265,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493394}
    [action_time] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493264,"compaign_read_complete_time":1764493265,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493394}
    [50] => 0
    [compaign_file] => 0
    [51] => r137_78772_30112025_023006PM_512
    [common_name] => r137_78772_30112025_023006PM_512
    [52] => 1763969803_r137_voice.wav
    [voice_file] => 1763969803_r137_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66354
    [temp_group_table] => contacts_temp_group_66354
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493562
    [last_credit_update_time] => 1764493562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1855
    [user_voice_plan_id] => 1855
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr36,r137
    [uphierarchy] => admin,sr36,r137
    [113] => 
    [extra_params_json] => 
)


Compaign : 78772
\compaign_type : Rans per 26.70686 
ans sms 850
dnd sms 0

require answer perrequire answer per : 228

user answer per : 67
below is the redis data 161 UPDATE voice_compaign_detail_78772 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 240 no_answer_count : 81 Busy count :62 congestion_count : 29 failed_count : 68UPDATE voice_compaign_detail_78772 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 81 UPDATE voice_compaign_detail_78772 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_78772 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78772 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='228', `user_busy_sms`='183', `user_congestion_sms`='29', `user_failed_sms`='166', `user_hangup_sms`='0', `user_no_answer_sms`='244', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78772 LIMIT 1 


Time Diff : 0.251

Array
(
    [0] => 78784
    [compaign_id] => 78784
    [1] => u179
    [user_id] => u179
    [2] => 66366,
    [group_ids] => 66366,
    [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] => 1764493200
    [start_date] => 1764493200
    [9] => 0
    [end_date] => 0
    [10] => 64
    [total_sms] => 64
    [11] => 64
    [sent_sms] => 64
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [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] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [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] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764493022
    [create_date] => 1764493022
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493267,"compaign_read_complete_time":1764493267,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493383}
    [action_time] => {"api_allot_time":1764493208,"compaign_read_start_time":1764493267,"compaign_read_complete_time":1764493267,"compaign_send_start_time":1764493322,"compaign_send_complete_time":1764493383}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78784_30112025_023006PM_194
    [common_name] => u179_78784_30112025_023006PM_194
    [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_66366
    [temp_group_table] => contacts_temp_group_66366
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764493563
    [last_credit_update_time] => 1764493563
    [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 : 78784
\compaign_type : Rans per 25.7136 
ans sms 64
dnd sms 26

require answer perrequire answer per : 10

user answer per : 4
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_78784 SET user_report='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_78784 SET user_report='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`='10', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='11', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78784 LIMIT 1 


Time Diff : 3.328

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.49828 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.4609 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 85
    [credit_seq] => 85
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493442
    [last_credit_update_time] => 1764493442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.50475 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78794
    [compaign_id] => 78794
    [1] => u29664
    [user_id] => u29664
    [2] => 66376,
    [group_ids] => 66376,
    [3] => 
    [sender_id] => 
    [4] => Dhananjay Voice call.mp3
    [filename] => Dhananjay Voice call.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493325
    [start_date] => 1764493325
    [9] => 0
    [end_date] => 0
    [10] => 384
    [total_sms] => 384
    [11] => 384
    [sent_sms] => 384
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 77
    [failed_sms] => 77
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 148
    [cutting_sms] => 148
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 38
    [user_answered_sms] => 38
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 77
    [user_failed_sms] => 77
    [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] => u29664
    [created_by] => u29664
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493325
    [create_date] => 1764493325
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493335,"compaign_read_start_time":1764493336,"compaign_read_complete_time":1764493337,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493384}
    [action_time] => {"api_allot_time":1764493335,"compaign_read_start_time":1764493336,"compaign_read_complete_time":1764493337,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493384}
    [50] => 0
    [compaign_file] => 0
    [51] => u29664_78794_30112025_023212PM_172
    [common_name] => u29664_78794_30112025_023212PM_172
    [52] => 1764399040_u29664_voice.wav
    [voice_file] => 1764399040_u29664_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66376
    [temp_group_table] => contacts_temp_group_66376
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493621
    [last_credit_update_time] => 1764493621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1887
    [user_voice_plan_id] => 1887
    [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,sr309,u29664
    [uphierarchy] => admin,sr53,sr78,sr309,u29664
    [113] => 
    [extra_params_json] => 
)


Compaign : 78794
\compaign_type : Rans per 27.45048 
ans sms 384
dnd sms 0

require answer perrequire answer per : 106

user answer per : 38
below is the redis data 68 UPDATE voice_compaign_detail_78794 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 68 Total Failed : 80 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_78794 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78794 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78794 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78794 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='106', `user_busy_sms`='79', `user_congestion_sms`='10', `user_failed_sms`='99', `user_hangup_sms`='0', `user_no_answer_sms`='90', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78794 LIMIT 1 


Time Diff : 0.708

Array
(
    [0] => 78795
    [compaign_id] => 78795
    [1] => u29689
    [user_id] => u29689
    [2] => 66377,
    [group_ids] => 66377,
    [3] => 
    [sender_id] => 
    [4] => zelabai voice call.mp3
    [filename] => zelabai voice call.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493326
    [start_date] => 1764493326
    [9] => 0
    [end_date] => 0
    [10] => 762
    [total_sms] => 762
    [11] => 762
    [sent_sms] => 762
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 94
    [busy_sms] => 94
    [15] => 0
    [congestion_sms] => 0
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 177
    [no_answer_sms] => 177
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 348
    [cutting_sms] => 348
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 94
    [user_busy_sms] => 94
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 68
    [user_failed_sms] => 68
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 177
    [user_no_answer_sms] => 177
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29689
    [created_by] => u29689
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493326
    [create_date] => 1764493326
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493335,"compaign_read_start_time":1764493339,"compaign_read_complete_time":1764493341,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [action_time] => {"api_allot_time":1764493335,"compaign_read_start_time":1764493339,"compaign_read_complete_time":1764493341,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [50] => 0
    [compaign_file] => 0
    [51] => u29689_78795_30112025_023212PM_636
    [common_name] => u29689_78795_30112025_023212PM_636
    [52] => 1764485221_u29689_voice.wav
    [voice_file] => 1764485221_u29689_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66377
    [temp_group_table] => contacts_temp_group_66377
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493621
    [last_credit_update_time] => 1764493621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1896
    [user_voice_plan_id] => 1896
    [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,sr309,u29689
    [uphierarchy] => admin,sr53,sr78,sr309,u29689
    [113] => 
    [extra_params_json] => 
)


Compaign : 78795
\compaign_type : Rans per 25.652 
ans sms 762
dnd sms 0

require answer perrequire answer per : 196

user answer per : 75
below is the redis data 121 UPDATE voice_compaign_detail_78795 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 121 Total Failed : 227 no_answer_count : 76 Busy count :59 congestion_count : 27 failed_count : 65UPDATE voice_compaign_detail_78795 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_78795 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_78795 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78795 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`='196', `user_busy_sms`='153', `user_congestion_sms`='27', `user_failed_sms`='133', `user_hangup_sms`='0', `user_no_answer_sms`='253', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78795 LIMIT 1 


Time Diff : 0.357

Array
(
    [0] => 78796
    [compaign_id] => 78796
    [1] => u29663
    [user_id] => u29663
    [2] => 66375,
    [group_ids] => 66375,
    [3] => 
    [sender_id] => 
    [4] => ujjwala voice 30sec.mp3
    [filename] => ujjwala voice 30sec.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493327
    [start_date] => 1764493327
    [9] => 0
    [end_date] => 0
    [10] => 755
    [total_sms] => 755
    [11] => 755
    [sent_sms] => 755
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 126
    [busy_sms] => 126
    [15] => 1
    [congestion_sms] => 1
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 157
    [no_answer_sms] => 157
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 354
    [cutting_sms] => 354
    [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] => 126
    [user_busy_sms] => 126
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 157
    [user_no_answer_sms] => 157
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29663
    [created_by] => u29663
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493327
    [create_date] => 1764493327
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493336,"compaign_read_start_time":1764493342,"compaign_read_complete_time":1764493344,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [action_time] => {"api_allot_time":1764493336,"compaign_read_start_time":1764493342,"compaign_read_complete_time":1764493344,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [50] => 0
    [compaign_file] => 0
    [51] => u29663_78796_30112025_023214PM_603
    [common_name] => u29663_78796_30112025_023214PM_603
    [52] => 1764399266_u29663_voice.wav
    [voice_file] => 1764399266_u29663_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66375
    [temp_group_table] => contacts_temp_group_66375
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493621
    [last_credit_update_time] => 1764493621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1888
    [user_voice_plan_id] => 1888
    [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,sr309,u29663
    [uphierarchy] => admin,sr53,sr78,sr309,u29663
    [113] => 
    [extra_params_json] => 
)


Compaign : 78796
\compaign_type : Rans per 27.60687 
ans sms 755
dnd sms 0

require answer perrequire answer per : 209

user answer per : 87
below is the redis data 122 UPDATE voice_compaign_detail_78796 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 122 Total Failed : 232 no_answer_count : 78 Busy count :60 congestion_count : 28 failed_count : 66UPDATE voice_compaign_detail_78796 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_78796 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_78796 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78796 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`='209', `user_busy_sms`='186', `user_congestion_sms`='29', `user_failed_sms`='96', `user_hangup_sms`='0', `user_no_answer_sms`='235', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78796 LIMIT 1 


Time Diff : 0.362

Array
(
    [0] => 78797
    [compaign_id] => 78797
    [1] => u29660
    [user_id] => u29660
    [2] => 66374,
    [group_ids] => 66374,
    [3] => 
    [sender_id] => 
    [4] => Nitin Patil Voice Call .mp3
    [filename] => Nitin Patil Voice Call .mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493328
    [start_date] => 1764493328
    [9] => 0
    [end_date] => 0
    [10] => 931
    [total_sms] => 931
    [11] => 931
    [sent_sms] => 931
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 155
    [busy_sms] => 155
    [15] => 2
    [congestion_sms] => 2
    [16] => 91
    [failed_sms] => 91
    [17] => 0
    [hangup_sms] => 0
    [18] => 177
    [no_answer_sms] => 177
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 444
    [cutting_sms] => 444
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 155
    [user_busy_sms] => 155
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 91
    [user_failed_sms] => 91
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 177
    [user_no_answer_sms] => 177
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29660
    [created_by] => u29660
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493328
    [create_date] => 1764493328
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493336,"compaign_read_start_time":1764493345,"compaign_read_complete_time":1764493347,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [action_time] => {"api_allot_time":1764493336,"compaign_read_start_time":1764493345,"compaign_read_complete_time":1764493347,"compaign_send_start_time":1764493382,"compaign_send_complete_time":1764493394}
    [50] => 0
    [compaign_file] => 0
    [51] => u29660_78797_30112025_023214PM_170
    [common_name] => u29660_78797_30112025_023214PM_170
    [52] => 1764233165_u29660_voice.wav
    [voice_file] => 1764233165_u29660_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66374
    [temp_group_table] => contacts_temp_group_66374
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493621
    [last_credit_update_time] => 1764493621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1869
    [user_voice_plan_id] => 1869
    [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,sr309,u29660
    [uphierarchy] => admin,sr53,sr78,sr309,u29660
    [113] => 
    [extra_params_json] => 
)


Compaign : 78797
\compaign_type : Rans per 28.16481 
ans sms 931
dnd sms 0

require answer perrequire answer per : 263

user answer per : 62
below is the redis data 201 UPDATE voice_compaign_detail_78797 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 201 Total Failed : 243 no_answer_count : 82 Busy count :63 congestion_count : 29 failed_count : 69UPDATE voice_compaign_detail_78797 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_78797 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_78797 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78797 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`='263', `user_busy_sms`='218', `user_congestion_sms`='31', `user_failed_sms`='160', `user_hangup_sms`='0', `user_no_answer_sms`='259', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78797 LIMIT 1 


Time Diff : 0.293

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.42997 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.55242 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.15486 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78803
    [compaign_id] => 78803
    [1] => u29666
    [user_id] => u29666
    [2] => 65694,
    [group_ids] => 65694,
    [3] => 
    [sender_id] => 
    [4] => mom recording (1).mp3
    [filename] => mom recording (1).mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493365
    [start_date] => 1764493365
    [9] => 0
    [end_date] => 0
    [10] => 576
    [total_sms] => 576
    [11] => 576
    [sent_sms] => 576
    [12] => 0
    [duplicate_sms] => 0
    [13] => 61
    [answered_sms] => 61
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 151
    [cutting_sms] => 151
    [22] => 198
    [dnd_sms] => 198
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 61
    [user_answered_sms] => 61
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 76
    [user_no_answer_sms] => 76
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 198
    [user_dnd_sms] => 198
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29666
    [created_by] => u29666
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493365
    [create_date] => 1764493365
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493371,"compaign_read_start_time":1764493382,"compaign_read_complete_time":1764493384,"compaign_send_start_time":1764493441,"compaign_send_complete_time":1764493443}
    [action_time] => {"api_allot_time":1764493371,"compaign_read_start_time":1764493382,"compaign_read_complete_time":1764493384,"compaign_send_start_time":1764493441,"compaign_send_complete_time":1764493443}
    [50] => 0
    [compaign_file] => 0
    [51] => u29666_78803_30112025_023250PM_995
    [common_name] => u29666_78803_30112025_023250PM_995
    [52] => 1764316489_u29666_voice_upload.wav
    [voice_file] => 1764316489_u29666_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65694
    [temp_group_table] => contacts_temp_group_65694
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493681
    [last_credit_update_time] => 1764493681
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1871
    [user_voice_plan_id] => 1871
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.5
    [pulse_rate] => 0.5
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr305,sr310,u29666
    [uphierarchy] => admin,sr305,sr310,u29666
    [113] => 
    [extra_params_json] => 
)


Compaign : 78803
\compaign_type : Rans per 27.05841 
ans sms 576
dnd sms 198

require answer perrequire answer per : 103

user answer per : 61
below is the redis data 42 UPDATE voice_compaign_detail_78803 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 42 Total Failed : 109 no_answer_count : 37 Busy count :28 congestion_count : 13 failed_count : 31UPDATE voice_compaign_detail_78803 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_78803 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78803 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_78803 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`='103', `user_busy_sms`='81', `user_congestion_sms`='13', `user_failed_sms`='68', `user_hangup_sms`='0', `user_no_answer_sms`='113', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='198' WHERE `compaign_id`=78803 LIMIT 1 


Time Diff : 0.443

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.52046 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.55469 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.82036 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78792
    [compaign_id] => 78792
    [1] => u29666
    [user_id] => u29666
    [2] => 65594,
    [group_ids] => 65594,
    [3] => 
    [sender_id] => 
    [4] => mom recording (1).mp3
    [filename] => mom recording (1).mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493260
    [start_date] => 1764493260
    [9] => 0
    [end_date] => 0
    [10] => 758
    [total_sms] => 758
    [11] => 758
    [sent_sms] => 758
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 57
    [busy_sms] => 57
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 119
    [no_answer_sms] => 119
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 233
    [cutting_sms] => 233
    [22] => 205
    [dnd_sms] => 205
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 95
    [user_answered_sms] => 95
    [27] => 57
    [user_busy_sms] => 57
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [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] => 205
    [user_dnd_sms] => 205
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29666
    [created_by] => u29666
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493260
    [create_date] => 1764493260
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493395,"compaign_read_start_time":1764493441,"compaign_read_complete_time":1764493443,"compaign_send_start_time":1764493501,"compaign_send_complete_time":1764493503}
    [action_time] => {"api_allot_time":1764493395,"compaign_read_start_time":1764493441,"compaign_read_complete_time":1764493443,"compaign_send_start_time":1764493501,"compaign_send_complete_time":1764493503}
    [50] => 0
    [compaign_file] => 0
    [51] => u29666_78792_30112025_023105PM_558
    [common_name] => u29666_78792_30112025_023105PM_558
    [52] => 1764316489_u29666_voice_upload.wav
    [voice_file] => 1764316489_u29666_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65594
    [temp_group_table] => contacts_temp_group_65594
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493742
    [last_credit_update_time] => 1764493742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1871
    [user_voice_plan_id] => 1871
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.5
    [pulse_rate] => 0.5
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr305,sr310,u29666
    [uphierarchy] => admin,sr305,sr310,u29666
    [113] => 
    [extra_params_json] => 
)


Compaign : 78792
\compaign_type : Rans per 26.8797 
ans sms 758
dnd sms 205

require answer perrequire answer per : 149

user answer per : 95
below is the redis data 54 UPDATE voice_compaign_detail_78792 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 Total Failed : 179 no_answer_count : 60 Busy count :46 congestion_count : 22 failed_count : 51UPDATE voice_compaign_detail_78792 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_78792 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_78792 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78792 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='149', `user_busy_sms`='103', `user_congestion_sms`='22', `user_failed_sms`='100', `user_hangup_sms`='0', `user_no_answer_sms`='179', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='205' WHERE `compaign_id`=78792 LIMIT 1 


Time Diff : 0.36

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.25273 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.85656 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.58648 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.40786 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.23919 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 86
    [credit_seq] => 86
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493683
    [last_credit_update_time] => 1764493683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.47057 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78806
    [compaign_id] => 78806
    [1] => u20720
    [user_id] => u20720
    [2] => 66380,
    [group_ids] => 66380,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493578
    [start_date] => 1764493578
    [9] => 0
    [end_date] => 0
    [10] => 3496
    [total_sms] => 3496
    [11] => 3496
    [sent_sms] => 3496
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 9
    [no_answer_sms] => 9
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 53
    [cutting_sms] => 53
    [22] => 3344
    [dnd_sms] => 3344
    [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] => 49
    [user_failed_sms] => 49
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493576
    [create_date] => 1764493576
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493585,"compaign_read_start_time":1764493586,"compaign_read_complete_time":1764493594,"compaign_send_start_time":1764493621,"compaign_send_complete_time":1764493622}
    [action_time] => {"api_allot_time":1764493585,"compaign_read_start_time":1764493586,"compaign_read_complete_time":1764493594,"compaign_send_start_time":1764493621,"compaign_send_complete_time":1764493622}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78806_30112025_023623PM_361
    [common_name] => u20720_78806_30112025_023623PM_361
    [52] => 1764493576_u20720_voice.wav
    [voice_file] => 1764493576_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66380
    [temp_group_table] => contacts_temp_group_66380
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493861
    [last_credit_update_time] => 1764493861
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78806
\compaign_type : Rans per 26.37391 
ans sms 3496
dnd sms 3344

require answer perrequire answer per : 41

user answer per : 1
below is the redis data 40 UPDATE voice_compaign_detail_78806 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 40 Total Failed : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_78806 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_78806 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_78806 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78806 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`='41', `user_busy_sms`='44', `user_congestion_sms`='2', `user_failed_sms`='51', `user_hangup_sms`='0', `user_no_answer_sms`='14', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78806 LIMIT 1 


Time Diff : 0.078

Array
(
    [0] => 78809
    [compaign_id] => 78809
    [1] => u29688
    [user_id] => u29688
    [2] => 66381,
    [group_ids] => 66381,
    [3] => 
    [sender_id] => 
    [4] => Shital Jadhav 12 Voice call.mp3
    [filename] => Shital Jadhav 12 Voice call.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493623
    [start_date] => 1764493623
    [9] => 0
    [end_date] => 0
    [10] => 450
    [total_sms] => 450
    [11] => 450
    [sent_sms] => 450
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 75
    [busy_sms] => 75
    [15] => 0
    [congestion_sms] => 0
    [16] => 61
    [failed_sms] => 61
    [17] => 0
    [hangup_sms] => 0
    [18] => 83
    [no_answer_sms] => 83
    [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] => 41
    [user_answered_sms] => 41
    [27] => 75
    [user_busy_sms] => 75
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 61
    [user_failed_sms] => 61
    [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] => u29688
    [created_by] => u29688
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493623
    [create_date] => 1764493623
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493631,"compaign_read_start_time":1764493633,"compaign_read_complete_time":1764493634,"compaign_send_start_time":1764493682,"compaign_send_complete_time":1764493683}
    [action_time] => {"api_allot_time":1764493631,"compaign_read_start_time":1764493633,"compaign_read_complete_time":1764493634,"compaign_send_start_time":1764493682,"compaign_send_complete_time":1764493683}
    [50] => 0
    [compaign_file] => 0
    [51] => u29688_78809_30112025_023709PM_834
    [common_name] => u29688_78809_30112025_023709PM_834
    [52] => 1764483544_u29688_voice.wav
    [voice_file] => 1764483544_u29688_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66381
    [temp_group_table] => contacts_temp_group_66381
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493922
    [last_credit_update_time] => 1764493922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1895
    [user_voice_plan_id] => 1895
    [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,sr309,u29688
    [uphierarchy] => admin,sr53,sr78,sr309,u29688
    [113] => 
    [extra_params_json] => 
)


Compaign : 78809
\compaign_type : Rans per 27.57491 
ans sms 450
dnd sms 0

require answer perrequire answer per : 125

user answer per : 41
below is the redis data 84 UPDATE voice_compaign_detail_78809 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 84 Total Failed : 106 no_answer_count : 36 Busy count :28 congestion_count : 13 failed_count : 29UPDATE voice_compaign_detail_78809 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_78809 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78809 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_78809 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`='125', `user_busy_sms`='103', `user_congestion_sms`='13', `user_failed_sms`='90', `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`=78809 LIMIT 1 


Time Diff : 0.476

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.81118 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.93019 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.25961 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234842'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.57412 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.48553 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.41094 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234902'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.19383 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.33182 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.77853 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764234963'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.4821 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.52152 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 87
    [credit_seq] => 87
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764493923
    [last_credit_update_time] => 1764493923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.22071 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.65616 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 33066
    [total_sms] => 33066
    [11] => 33066
    [sent_sms] => 33066
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 12380
    [busy_sms] => 12380
    [15] => 23
    [congestion_sms] => 23
    [16] => 19215
    [failed_sms] => 19215
    [17] => 0
    [hangup_sms] => 0
    [18] => 1353
    [no_answer_sms] => 1353
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [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] => 12380
    [user_busy_sms] => 12380
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 19215
    [user_failed_sms] => 19215
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1353
    [user_no_answer_sms] => 1353
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.69503 
ans sms 33066
dnd sms 0

require answer perrequire answer per : 9819

user answer per : 117
below is the redis data 9702 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9702 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='118', `user_busy_sms`='12380', `user_congestion_sms`='0', `user_failed_sms`='19215', `user_hangup_sms`='0', `user_no_answer_sms`='1353', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.249

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.43762 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.9371 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78810
    [compaign_id] => 78810
    [1] => u29672
    [user_id] => u29672
    [2] => 66382,
    [group_ids] => 66382,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764493685
    [start_date] => 1764493685
    [9] => 0
    [end_date] => 0
    [10] => 9078
    [total_sms] => 9078
    [11] => 9078
    [sent_sms] => 9078
    [12] => 0
    [duplicate_sms] => 0
    [13] => 559
    [answered_sms] => 559
    [14] => 537
    [busy_sms] => 537
    [15] => 0
    [congestion_sms] => 0
    [16] => 2683
    [failed_sms] => 2683
    [17] => 0
    [hangup_sms] => 0
    [18] => 900
    [no_answer_sms] => 900
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4399
    [cutting_sms] => 4399
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 559
    [user_answered_sms] => 559
    [27] => 537
    [user_busy_sms] => 537
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2683
    [user_failed_sms] => 2683
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 900
    [user_no_answer_sms] => 900
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764493685
    [create_date] => 1764493685
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764493693,"compaign_read_start_time":1764493693,"compaign_read_complete_time":1764493709,"compaign_send_start_time":1764493743,"compaign_send_complete_time":1764493775}
    [action_time] => {"api_allot_time":1764493693,"compaign_read_start_time":1764493693,"compaign_read_complete_time":1764493709,"compaign_send_start_time":1764493743,"compaign_send_complete_time":1764493775}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78810_30112025_023811PM_578
    [common_name] => u29672_78810_30112025_023811PM_578
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66382
    [temp_group_table] => contacts_temp_group_66382
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764494163
    [last_credit_update_time] => 1764494163
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78810
\compaign_type : Rans per 28.75955 
ans sms 9078
dnd sms 0

require answer perrequire answer per : 2611

user answer per : 559
below is the redis data 2052 UPDATE voice_compaign_detail_78810 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2052 Total Failed : 2347 no_answer_count : 783 Busy count :603 congestion_count : 279 failed_count : 682UPDATE voice_compaign_detail_78810 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 783 UPDATE voice_compaign_detail_78810 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 603 UPDATE voice_compaign_detail_78810 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 279 UPDATE voice_compaign_detail_78810 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 682 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2611', `user_busy_sms`='1140', `user_congestion_sms`='279', `user_failed_sms`='3365', `user_hangup_sms`='0', `user_no_answer_sms`='1683', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78810 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>'1764235081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.89088 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.02311 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.48444 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.26063 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.72743 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.44549 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.52854 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.73215 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494164
    [last_credit_update_time] => 1764494164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.47926 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.35472 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.86282 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.40517 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.51498 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.81057 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.61252 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.4582 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.97879 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.49482 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78816
    [compaign_id] => 78816
    [1] => u371
    [user_id] => u371
    [2] => 66388,
    [group_ids] => 66388,
    [3] => 
    [sender_id] => 
    [4] => VIJAY ALOOR NEW.mp3(2)
    [filename] => VIJAY ALOOR NEW.mp3(2)
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764494223
    [start_date] => 1764494223
    [9] => 0
    [end_date] => 0
    [10] => 342
    [total_sms] => 342
    [11] => 342
    [sent_sms] => 342
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 125
    [cutting_sms] => 125
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 83
    [user_failed_sms] => 83
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 53
    [user_no_answer_sms] => 53
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764494223
    [create_date] => 1764494223
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764494230,"compaign_read_start_time":1764494234,"compaign_read_complete_time":1764494234,"compaign_send_start_time":1764494282,"compaign_send_complete_time":1764494290}
    [action_time] => {"api_allot_time":1764494230,"compaign_read_start_time":1764494234,"compaign_read_complete_time":1764494234,"compaign_send_start_time":1764494282,"compaign_send_complete_time":1764494290}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_78816_30112025_024708PM_266
    [common_name] => u371_78816_30112025_024708PM_266
    [52] => 1764493069_u371_voice.wav
    [voice_file] => 1764493069_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66388
    [temp_group_table] => contacts_temp_group_66388
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494522
    [last_credit_update_time] => 1764494522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 78816
\compaign_type : Rans per 30.16139 
ans sms 342
dnd sms 0

require answer perrequire answer per : 104

user answer per : 54
below is the redis data 50 /n/r
only no answer and busy will be convert, total number require 50 /n/r
UPDATE voice_compaign_detail_78816 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_78816 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 36 Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_78816 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78816 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78816 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78816 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`='104', `user_busy_sms`='69', `user_congestion_sms`='10', `user_failed_sms`='75', `user_hangup_sms`='0', `user_no_answer_sms`='84', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78816 LIMIT 1 


Time Diff : 0.795

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.91358 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.20374 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494402
    [last_credit_update_time] => 1764494402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.78655 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235502'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.42766 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.81529 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.43629 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78818
    [compaign_id] => 78818
    [1] => r54
    [user_id] => r54
    [2] => 66391,
    [group_ids] => 66391,
    [3] => 
    [sender_id] => 
    [4] => major tanaji mane.mp3
    [filename] => major tanaji mane.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764494378
    [start_date] => 1764494378
    [9] => 0
    [end_date] => 0
    [10] => 596
    [total_sms] => 596
    [11] => 596
    [sent_sms] => 596
    [12] => 0
    [duplicate_sms] => 0
    [13] => 86
    [answered_sms] => 86
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 192
    [cutting_sms] => 192
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 86
    [user_answered_sms] => 86
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 0
    [isScheduled] => 0
    [39] => 1764494377
    [create_date] => 1764494377
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764494386,"compaign_read_start_time":1764494387,"compaign_read_complete_time":1764494388,"compaign_send_start_time":1764494401,"compaign_send_complete_time":1764494403}
    [action_time] => {"api_allot_time":1764494386,"compaign_read_start_time":1764494387,"compaign_read_complete_time":1764494388,"compaign_send_start_time":1764494401,"compaign_send_complete_time":1764494403}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78818_30112025_024944PM_424
    [common_name] => r54_78818_30112025_024944PM_424
    [52] => 1764396103_r54_voice.wav
    [voice_file] => 1764396103_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66391
    [temp_group_table] => contacts_temp_group_66391
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764494642
    [last_credit_update_time] => 1764494642
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764495900,"2":1764497700}
    [rt_time] => {"1":1764495900,"2":1764497700}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78818
\compaign_type : Rans per 28.98919 
ans sms 596
dnd sms 164

require answer perrequire answer per : 126

user answer per : 86
below is the redis data 40 /n/r
only no answer and busy will be convert, total number require 40 /n/r
UPDATE voice_compaign_detail_78818 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78818 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 140 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 40UPDATE voice_compaign_detail_78818 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_78818 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_78818 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_78818 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`='126', `user_busy_sms`='98', `user_congestion_sms`='17', `user_failed_sms`='82', `user_hangup_sms`='0', `user_no_answer_sms`='109', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='164' WHERE `compaign_id`=78818 LIMIT 1 


Time Diff : 0.411

Array
(
    [0] => 78819
    [compaign_id] => 78819
    [1] => r54
    [user_id] => r54
    [2] => 66392,
    [group_ids] => 66392,
    [3] => 
    [sender_id] => 
    [4] => femail voice.mp3
    [filename] => femail voice.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764494434
    [start_date] => 1764494434
    [9] => 0
    [end_date] => 0
    [10] => 596
    [total_sms] => 596
    [11] => 596
    [sent_sms] => 596
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 50
    [failed_sms] => 50
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 195
    [cutting_sms] => 195
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 50
    [user_failed_sms] => 50
    [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] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 0
    [isScheduled] => 0
    [39] => 1764494433
    [create_date] => 1764494433
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764494440,"compaign_read_start_time":1764494443,"compaign_read_complete_time":1764494444,"compaign_send_start_time":1764494462,"compaign_send_complete_time":1764494463}
    [action_time] => {"api_allot_time":1764494440,"compaign_read_start_time":1764494443,"compaign_read_complete_time":1764494444,"compaign_send_start_time":1764494462,"compaign_send_complete_time":1764494463}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78819_30112025_025039PM_482
    [common_name] => r54_78819_30112025_025039PM_482
    [52] => 1764396374_r54_voice.wav
    [voice_file] => 1764396374_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66392
    [temp_group_table] => contacts_temp_group_66392
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764494642
    [last_credit_update_time] => 1764494642
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764496800,"2":1764499500}
    [rt_time] => {"1":1764496800,"2":1764499500}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78819
\compaign_type : Rans per 27.05022 
ans sms 596
dnd sms 164

require answer perrequire answer per : 117

user answer per : 85
below is the redis data 32 /n/r
only no answer and busy will be convert, total number require 32 /n/r
UPDATE voice_compaign_detail_78819 SET user_report='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_78819 SET user_report='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 : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_78819 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_78819 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78819 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78819 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`='117', `user_busy_sms`='97', `user_congestion_sms`='19', `user_failed_sms`='84', `user_hangup_sms`='0', `user_no_answer_sms`='115', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='164' WHERE `compaign_id`=78819 LIMIT 1 


Time Diff : 0.359

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.19174 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.72022 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.42552 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.33979 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.12053 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.98886 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.34429 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.34905 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 90
    [credit_seq] => 90
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494643
    [last_credit_update_time] => 1764494643
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.69575 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78817
    [compaign_id] => 78817
    [1] => u29666
    [user_id] => u29666
    [2] => 66390,
    [group_ids] => 66390,
    [3] => 
    [sender_id] => 
    [4] => mom recording (1).mp3
    [filename] => mom recording (1).mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764494354
    [start_date] => 1764494354
    [9] => 0
    [end_date] => 0
    [10] => 76
    [total_sms] => 76
    [11] => 76
    [sent_sms] => 76
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [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] => 8
    [user_answered_sms] => 8
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => u29666
    [created_by] => u29666
    [38] => 0
    [isScheduled] => 0
    [39] => 1764494354
    [create_date] => 1764494354
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764494490,"compaign_read_start_time":1764494491,"compaign_read_complete_time":1764494492,"compaign_send_start_time":1764494522,"compaign_send_complete_time":1764494525}
    [action_time] => {"api_allot_time":1764494490,"compaign_read_start_time":1764494491,"compaign_read_complete_time":1764494492,"compaign_send_start_time":1764494522,"compaign_send_complete_time":1764494525}
    [50] => 0
    [compaign_file] => 0
    [51] => u29666_78817_30112025_024920PM_161
    [common_name] => u29666_78817_30112025_024920PM_161
    [52] => 1764316489_u29666_voice_upload.wav
    [voice_file] => 1764316489_u29666_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66390
    [temp_group_table] => contacts_temp_group_66390
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 1
    [extension_key] => 1
    [69] => 3
    [credit_seq] => 3
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764494822
    [last_credit_update_time] => 1764494822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1871
    [user_voice_plan_id] => 1871
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.5
    [pulse_rate] => 0.5
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr305,sr310,u29666
    [uphierarchy] => admin,sr305,sr310,u29666
    [113] => 
    [extra_params_json] => 
)


Compaign : 78817
\compaign_type : Rans per 26.58933 
ans sms 76
dnd sms 0

require answer perrequire answer per : 21

user answer per : 8
below is the redis data 13 UPDATE voice_compaign_detail_78817 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='8', `user_busy_sms`='22', `user_congestion_sms`='0', `user_failed_sms`='27', `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`=78817 LIMIT 1 


Time Diff : 4.368

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.99528 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.63801 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.52479 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235806'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.54932 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.77264 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.49942 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.18963 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.6576 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.97826 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.59665 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.51849 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764494882
    [last_credit_update_time] => 1764494882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.69599 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764235982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.44385 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.58091 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.13848 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78820
    [compaign_id] => 78820
    [1] => u29672
    [user_id] => u29672
    [2] => 66393,
    [group_ids] => 66393,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764494562
    [start_date] => 1764494562
    [9] => 0
    [end_date] => 0
    [10] => 6467
    [total_sms] => 6467
    [11] => 6467
    [sent_sms] => 6467
    [12] => 0
    [duplicate_sms] => 0
    [13] => 263
    [answered_sms] => 263
    [14] => 378
    [busy_sms] => 378
    [15] => 0
    [congestion_sms] => 0
    [16] => 1985
    [failed_sms] => 1985
    [17] => 0
    [hangup_sms] => 0
    [18] => 530
    [no_answer_sms] => 530
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3311
    [cutting_sms] => 3311
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 263
    [user_answered_sms] => 263
    [27] => 378
    [user_busy_sms] => 378
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1985
    [user_failed_sms] => 1985
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 530
    [user_no_answer_sms] => 530
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764494562
    [create_date] => 1764494562
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764494570,"compaign_read_start_time":1764494581,"compaign_read_complete_time":1764494593,"compaign_send_start_time":1764494642,"compaign_send_complete_time":1764494665}
    [action_time] => {"api_allot_time":1764494570,"compaign_read_start_time":1764494581,"compaign_read_complete_time":1764494593,"compaign_send_start_time":1764494642,"compaign_send_complete_time":1764494665}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78820_30112025_025248PM_609
    [common_name] => u29672_78820_30112025_025248PM_609
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66393
    [temp_group_table] => contacts_temp_group_66393
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764495121
    [last_credit_update_time] => 1764495121
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78820
\compaign_type : Rans per 26.5965 
ans sms 6467
dnd sms 0

require answer perrequire answer per : 1720

user answer per : 263
below is the redis data 1457 UPDATE voice_compaign_detail_78820 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1457 Total Failed : 1854 no_answer_count : 619 Busy count :476 congestion_count : 221 failed_count : 538UPDATE voice_compaign_detail_78820 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 619 UPDATE voice_compaign_detail_78820 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 476 UPDATE voice_compaign_detail_78820 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 221 UPDATE voice_compaign_detail_78820 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 538 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1720', `user_busy_sms`='854', `user_congestion_sms`='221', `user_failed_sms`='2523', `user_hangup_sms`='0', `user_no_answer_sms`='1149', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78820 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>'1764236041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.98266 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.86544 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.32813 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.93391 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.96328 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.44841 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236163'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.68531 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.16101 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 92
    [credit_seq] => 92
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495122
    [last_credit_update_time] => 1764495122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.03607 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.15724 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.58784 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.74287 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.7069 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.89474 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.66387 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.31555 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.36238 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.3567 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.62834 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.30698 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 93
    [credit_seq] => 93
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495364
    [last_credit_update_time] => 1764495364
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.5774 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.0413 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.01924 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.97505 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.19161 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.74708 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.3363 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78825
    [compaign_id] => 78825
    [1] => sr170
    [user_id] => sr170
    [2] => 66398,
    [group_ids] => 66398,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764495214
    [start_date] => 1764495214
    [9] => 0
    [end_date] => 0
    [10] => 2490
    [total_sms] => 2490
    [11] => 2490
    [sent_sms] => 2490
    [12] => 0
    [duplicate_sms] => 0
    [13] => 236
    [answered_sms] => 236
    [14] => 126
    [busy_sms] => 126
    [15] => 0
    [congestion_sms] => 0
    [16] => 673
    [failed_sms] => 673
    [17] => 0
    [hangup_sms] => 0
    [18] => 283
    [no_answer_sms] => 283
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1172
    [cutting_sms] => 1172
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 236
    [user_answered_sms] => 236
    [27] => 126
    [user_busy_sms] => 126
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 673
    [user_failed_sms] => 673
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 283
    [user_no_answer_sms] => 283
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764495213
    [create_date] => 1764495213
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764495350,"compaign_read_start_time":1764495365,"compaign_read_complete_time":1764495369,"compaign_send_start_time":1764495423,"compaign_send_complete_time":1764495429}
    [action_time] => {"api_allot_time":1764495350,"compaign_read_start_time":1764495365,"compaign_read_complete_time":1764495369,"compaign_send_start_time":1764495423,"compaign_send_complete_time":1764495429}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78825_30112025_030340PM_303
    [common_name] => sr170_78825_30112025_030340PM_303
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66398
    [temp_group_table] => contacts_temp_group_66398
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764495603
    [reschedule_last_check_time] => 1764495603
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495661
    [last_credit_update_time] => 1764495661
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78825
\compaign_type : Rans per 26.39609 
ans sms 2490
dnd sms 0

require answer perrequire answer per : 658

user answer per : 236
below is the redis data 422 /n/r
only no answer and busy will be convert, total number require 422 /n/r
UPDATE voice_compaign_detail_78825 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 317 UPDATE voice_compaign_detail_78825 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 317 Total Failed : 755 no_answer_count : 252 Busy count :194 congestion_count : 90 failed_count : 219UPDATE voice_compaign_detail_78825 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 252 UPDATE voice_compaign_detail_78825 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 194 UPDATE voice_compaign_detail_78825 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_78825 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 219 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='645', `user_busy_sms`='511', `user_congestion_sms`='90', `user_failed_sms`='675', `user_hangup_sms`='0', `user_no_answer_sms`='569', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78825 LIMIT 1 


Time Diff : 0.098

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.19886 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.70704 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.052 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.66867 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.91987 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 94
    [credit_seq] => 94
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495611
    [last_credit_update_time] => 1764495611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.39185 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.01805 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.10066 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.12586 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236762'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.20801 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.04463 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.57875 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.47203 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.42035 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.82381 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78826
    [compaign_id] => 78826
    [1] => u29672
    [user_id] => u29672
    [2] => 66399,
    [group_ids] => 66399,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764495441
    [start_date] => 1764495441
    [9] => 0
    [end_date] => 0
    [10] => 4747
    [total_sms] => 4747
    [11] => 4747
    [sent_sms] => 4747
    [12] => 0
    [duplicate_sms] => 0
    [13] => 141
    [answered_sms] => 141
    [14] => 339
    [busy_sms] => 339
    [15] => 0
    [congestion_sms] => 0
    [16] => 1595
    [failed_sms] => 1595
    [17] => 0
    [hangup_sms] => 0
    [18] => 392
    [no_answer_sms] => 392
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2280
    [cutting_sms] => 2280
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 141
    [user_answered_sms] => 141
    [27] => 339
    [user_busy_sms] => 339
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1595
    [user_failed_sms] => 1595
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 392
    [user_no_answer_sms] => 392
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764495441
    [create_date] => 1764495441
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764495448,"compaign_read_start_time":1764495451,"compaign_read_complete_time":1764495459,"compaign_send_start_time":1764495482,"compaign_send_complete_time":1764495493}
    [action_time] => {"api_allot_time":1764495448,"compaign_read_start_time":1764495451,"compaign_read_complete_time":1764495459,"compaign_send_start_time":1764495482,"compaign_send_complete_time":1764495493}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78826_30112025_030726PM_661
    [common_name] => u29672_78826_30112025_030726PM_661
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66399
    [temp_group_table] => contacts_temp_group_66399
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764495962
    [last_credit_update_time] => 1764495962
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78826
\compaign_type : Rans per 28.513 
ans sms 4747
dnd sms 0

require answer perrequire answer per : 1354

user answer per : 141
below is the redis data 1213 UPDATE voice_compaign_detail_78826 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1213 Total Failed : 1067 no_answer_count : 356 Busy count :274 congestion_count : 127 failed_count : 310UPDATE voice_compaign_detail_78826 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 356 UPDATE voice_compaign_detail_78826 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 274 UPDATE voice_compaign_detail_78826 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 127 UPDATE voice_compaign_detail_78826 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 310 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1354', `user_busy_sms`='613', `user_congestion_sms`='127', `user_failed_sms`='1905', `user_hangup_sms`='0', `user_no_answer_sms`='748', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78826 LIMIT 1 


Time Diff : 0.102

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.09204 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.13613 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 95
    [credit_seq] => 95
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764495843
    [last_credit_update_time] => 1764495843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.14414 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764236942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.5071 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.52918 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.64464 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237001'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.62157 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.61129 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.92163 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.98006 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.47335 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.52916 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78821
    [compaign_id] => 78821
    [1] => r54
    [user_id] => r54
    [2] => 66394,
    [group_ids] => 66394,
    [3] => 
    [sender_id] => 
    [4] => major tanaji mane.mp3
    [filename] => major tanaji mane.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764495900
    [start_date] => 1764495900
    [9] => 0
    [end_date] => 0
    [10] => 470
    [total_sms] => 470
    [11] => 470
    [sent_sms] => 470
    [12] => 0
    [duplicate_sms] => 0
    [13] => 48
    [answered_sms] => 48
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 134
    [cutting_sms] => 134
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 48
    [user_answered_sms] => 48
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [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] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764494833
    [create_date] => 1764494833
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764495907,"compaign_read_start_time":1764495907,"compaign_read_complete_time":1764495909,"compaign_send_start_time":1764495962,"compaign_send_complete_time":1764495963}
    [action_time] => {"api_allot_time":1764495907,"compaign_read_start_time":1764495907,"compaign_read_complete_time":1764495909,"compaign_send_start_time":1764495962,"compaign_send_complete_time":1764495963}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78821_30112025_031505PM_292
    [common_name] => r54_78821_30112025_031505PM_292
    [52] => 1764396103_r54_voice.wav
    [voice_file] => 1764396103_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66394
    [temp_group_table] => contacts_temp_group_66394
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496201
    [last_credit_update_time] => 1764496201
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78821
\compaign_type : Rans per 25.9833 
ans sms 470
dnd sms 164

require answer perrequire answer per : 80

user answer per : 48
below is the redis data 32 /n/r
only no answer and busy will be convert, total number require 32 /n/r
UPDATE voice_compaign_detail_78821 SET user_report='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_78821 SET user_report='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 : 98 no_answer_count : 33 Busy count :26 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_78821 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_78821 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_78821 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78821 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='80', `user_busy_sms`='68', `user_congestion_sms`='12', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='76', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='164' WHERE `compaign_id`=78821 LIMIT 1 


Time Diff : 0.521

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237122'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.54697 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.30871 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 96
    [credit_seq] => 96
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496089
    [last_credit_update_time] => 1764496089
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.51064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.68882 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.46824 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.09293 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78828
    [compaign_id] => 78828
    [1] => sr170
    [user_id] => sr170
    [2] => 66400,
    [group_ids] => 66400,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764496029
    [start_date] => 1764496029
    [9] => 0
    [end_date] => 0
    [10] => 1845
    [total_sms] => 1845
    [11] => 1845
    [sent_sms] => 1845
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 67
    [busy_sms] => 67
    [15] => 0
    [congestion_sms] => 0
    [16] => 656
    [failed_sms] => 656
    [17] => 0
    [hangup_sms] => 0
    [18] => 115
    [no_answer_sms] => 115
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 911
    [cutting_sms] => 911
    [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] => 67
    [user_busy_sms] => 67
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 656
    [user_failed_sms] => 656
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 115
    [user_no_answer_sms] => 115
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764496029
    [create_date] => 1764496029
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764496038,"compaign_read_start_time":1764496039,"compaign_read_complete_time":1764496042,"compaign_send_start_time":1764496082,"compaign_send_complete_time":1764496092}
    [action_time] => {"api_allot_time":1764496038,"compaign_read_start_time":1764496039,"compaign_read_complete_time":1764496042,"compaign_send_start_time":1764496082,"compaign_send_complete_time":1764496092}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78828_30112025_031715PM_237
    [common_name] => sr170_78828_30112025_031715PM_237
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66400
    [temp_group_table] => contacts_temp_group_66400
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496322
    [last_credit_update_time] => 1764496322
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78828
\compaign_type : Rans per 26.99521 
ans sms 1845
dnd sms 0

require answer perrequire answer per : 499

user answer per : 96
below is the redis data 403 /n/r
only no answer and busy will be convert, total number require 403 /n/r
UPDATE voice_compaign_detail_78828 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 307 UPDATE voice_compaign_detail_78828 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 307 Total Failed : 561 no_answer_count : 188 Busy count :144 congestion_count : 67 failed_count : 162UPDATE voice_compaign_detail_78828 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_78828 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 144 UPDATE voice_compaign_detail_78828 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_78828 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 162 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='278', `user_busy_sms`='451', `user_congestion_sms`='67', `user_failed_sms`='554', `user_hangup_sms`='0', `user_no_answer_sms`='495', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78828 LIMIT 1 


Time Diff : 0.132

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.22879 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.31357 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.49556 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.4439 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.99429 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.29586 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.22275 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27316 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 97
    [credit_seq] => 97
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496323
    [last_credit_update_time] => 1764496323
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.21697 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237422'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.67008 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.02816 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.03218 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.4736 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.08817 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.48968 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.77238 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.62741 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.21853 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.91302 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.92778 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 98
    [credit_seq] => 98
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496562
    [last_credit_update_time] => 1764496562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.33121 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.56662 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.19978 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.49068 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.53755 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.61876 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.77374 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78832
    [compaign_id] => 78832
    [1] => sr170
    [user_id] => sr170
    [2] => 66402,
    [group_ids] => 66402,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764496632
    [start_date] => 1764496632
    [9] => 0
    [end_date] => 0
    [10] => 1567
    [total_sms] => 1567
    [11] => 1567
    [sent_sms] => 1567
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 646
    [failed_sms] => 646
    [17] => 0
    [hangup_sms] => 0
    [18] => 55
    [no_answer_sms] => 55
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 779
    [cutting_sms] => 779
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 646
    [user_failed_sms] => 646
    [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] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764496632
    [create_date] => 1764496632
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764496638,"compaign_read_start_time":1764496640,"compaign_read_complete_time":1764496643,"compaign_send_start_time":1764496682,"compaign_send_complete_time":1764496686}
    [action_time] => {"api_allot_time":1764496638,"compaign_read_start_time":1764496640,"compaign_read_complete_time":1764496643,"compaign_send_start_time":1764496682,"compaign_send_complete_time":1764496686}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78832_30112025_032717PM_128
    [common_name] => sr170_78832_30112025_032717PM_128
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66402
    [temp_group_table] => contacts_temp_group_66402
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496921
    [last_credit_update_time] => 1764496921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78832
\compaign_type : Rans per 25.69415 
ans sms 1567
dnd sms 0

require answer perrequire answer per : 403

user answer per : 45
below is the redis data 358 /n/r
only no answer and busy will be convert, total number require 358 /n/r
UPDATE voice_compaign_detail_78832 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 283 UPDATE voice_compaign_detail_78832 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 283 Total Failed : 462 no_answer_count : 155 Busy count :119 congestion_count : 55 failed_count : 133UPDATE voice_compaign_detail_78832 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_78832 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_78832 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_78832 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 133 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='142', `user_busy_sms`='402', `user_congestion_sms`='55', `user_failed_sms`='530', `user_hangup_sms`='0', `user_no_answer_sms`='438', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78832 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>'1764237782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.09494 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.72931 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.82731 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78830
    [compaign_id] => 78830
    [1] => u29672
    [user_id] => u29672
    [2] => 66401,
    [group_ids] => 66401,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764496345
    [start_date] => 1764496345
    [9] => 0
    [end_date] => 0
    [10] => 3393
    [total_sms] => 3393
    [11] => 3393
    [sent_sms] => 3393
    [12] => 0
    [duplicate_sms] => 0
    [13] => 84
    [answered_sms] => 84
    [14] => 242
    [busy_sms] => 242
    [15] => 0
    [congestion_sms] => 0
    [16] => 1162
    [failed_sms] => 1162
    [17] => 0
    [hangup_sms] => 0
    [18] => 226
    [no_answer_sms] => 226
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1679
    [cutting_sms] => 1679
    [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] => 242
    [user_busy_sms] => 242
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1162
    [user_failed_sms] => 1162
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 226
    [user_no_answer_sms] => 226
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764496345
    [create_date] => 1764496345
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764496481,"compaign_read_start_time":1764496484,"compaign_read_complete_time":1764496489,"compaign_send_start_time":1764496501,"compaign_send_complete_time":1764496511}
    [action_time] => {"api_allot_time":1764496481,"compaign_read_start_time":1764496484,"compaign_read_complete_time":1764496489,"compaign_send_start_time":1764496501,"compaign_send_complete_time":1764496511}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78830_30112025_032230PM_969
    [common_name] => u29672_78830_30112025_032230PM_969
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66401
    [temp_group_table] => contacts_temp_group_66401
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764496921
    [last_credit_update_time] => 1764496921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78830
\compaign_type : Rans per 30.2266 
ans sms 3393
dnd sms 0

require answer perrequire answer per : 1026

user answer per : 84
below is the redis data 942 UPDATE voice_compaign_detail_78830 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 942 Total Failed : 737 no_answer_count : 246 Busy count :190 congestion_count : 88 failed_count : 213UPDATE voice_compaign_detail_78830 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 246 UPDATE voice_compaign_detail_78830 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 190 UPDATE voice_compaign_detail_78830 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_78830 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 213 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1026', `user_busy_sms`='432', `user_congestion_sms`='88', `user_failed_sms`='1375', `user_hangup_sms`='0', `user_no_answer_sms`='472', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78830 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>'1764237842'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.05736 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.70376 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 99
    [credit_seq] => 99
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764496803
    [last_credit_update_time] => 1764496803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.32869 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.84215 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.68554 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.54395 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764237961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.63595 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.41877 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.79237 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78824
    [compaign_id] => 78824
    [1] => r54
    [user_id] => r54
    [2] => 66397,
    [group_ids] => 66397,
    [3] => 
    [sender_id] => 
    [4] => femail voice.mp3
    [filename] => femail voice.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764496800
    [start_date] => 1764496800
    [9] => 0
    [end_date] => 0
    [10] => 479
    [total_sms] => 479
    [11] => 479
    [sent_sms] => 479
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 48
    [no_answer_sms] => 48
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 123
    [cutting_sms] => 123
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 47
    [user_answered_sms] => 47
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [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] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764495123
    [create_date] => 1764495123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764496807,"compaign_read_start_time":1764496808,"compaign_read_complete_time":1764496808,"compaign_send_start_time":1764496861,"compaign_send_complete_time":1764496863}
    [action_time] => {"api_allot_time":1764496807,"compaign_read_start_time":1764496808,"compaign_read_complete_time":1764496808,"compaign_send_start_time":1764496861,"compaign_send_complete_time":1764496863}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78824_30112025_033006PM_676
    [common_name] => r54_78824_30112025_033006PM_676
    [52] => 1764396374_r54_voice.wav
    [voice_file] => 1764396374_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66397
    [temp_group_table] => contacts_temp_group_66397
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497101
    [last_credit_update_time] => 1764497101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78824
\compaign_type : Rans per 27.22481 
ans sms 479
dnd sms 164

require answer perrequire answer per : 86

user answer per : 47
below is the redis data 39 /n/r
only no answer and busy will be convert, total number require 39 /n/r
UPDATE voice_compaign_detail_78824 SET user_report='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_78824 SET user_report='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 : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_78824 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78824 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78824 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78824 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`='86', `user_busy_sms`='74', `user_congestion_sms`='10', `user_failed_sms`='59', `user_hangup_sms`='0', `user_no_answer_sms`='86', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='164' WHERE `compaign_id`=78824 LIMIT 1 


Time Diff : 0.507

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.26881 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.44756 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.546 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.56079 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.01523 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 100
    [credit_seq] => 100
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497042
    [last_credit_update_time] => 1764497042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.97057 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.85238 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.19708 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.54966 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.84784 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.92919 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.35212 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238263'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.31457 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.3795 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.74525 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78835
    [compaign_id] => 78835
    [1] => u179
    [user_id] => u179
    [2] => 66404,
    [group_ids] => 66404,
    [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] => 1764497058
    [start_date] => 1764497058
    [9] => 0
    [end_date] => 0
    [10] => 142
    [total_sms] => 142
    [11] => 142
    [sent_sms] => 142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 7
    [user_failed_sms] => 7
    [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] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1764497058
    [create_date] => 1764497058
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764497194,"compaign_read_start_time":1764497197,"compaign_read_complete_time":1764497198,"compaign_send_start_time":1764497222,"compaign_send_complete_time":1764497223}
    [action_time] => {"api_allot_time":1764497194,"compaign_read_start_time":1764497197,"compaign_read_complete_time":1764497198,"compaign_send_start_time":1764497222,"compaign_send_complete_time":1764497223}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78835_30112025_033423PM_344
    [common_name] => u179_78835_30112025_033423PM_344
    [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_66404
    [temp_group_table] => contacts_temp_group_66404
    [61] => 0
    [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] => 1764497402
    [reschedule_last_check_time] => 1764497402
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497462
    [last_credit_update_time] => 1764497462
    [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":1764498600,"2":1764499500,"3":1764500400}
    [rt_time] => {"1":1764498600,"2":1764499500,"3":1764500400}
    [104] => 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 : 78835
\compaign_type : Rans per 29.33906 
ans sms 142
dnd sms 26

require answer perrequire answer per : 35

user answer per : 28
below is the redis data 7 /n/r
only no answer and busy will be convert, total number require 7 /n/r
UPDATE voice_compaign_detail_78835 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78835 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 10 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_78835 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_78835 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78835 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78835 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`='35', `user_busy_sms`='36', `user_congestion_sms`='2', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78835 LIMIT 1 


Time Diff : 1.303

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.34806 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.51606 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 101
    [credit_seq] => 101
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497290
    [last_credit_update_time] => 1764497290
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.48662 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.4306 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497523
    [last_credit_update_time] => 1764497523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.82685 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497524
    [last_credit_update_time] => 1764497524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.11501 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78836
    [compaign_id] => 78836
    [1] => sr170
    [user_id] => sr170
    [2] => 66405,
    [group_ids] => 66405,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764497227
    [start_date] => 1764497227
    [9] => 0
    [end_date] => 0
    [10] => 1425
    [total_sms] => 1425
    [11] => 1425
    [sent_sms] => 1425
    [12] => 0
    [duplicate_sms] => 0
    [13] => 29
    [answered_sms] => 29
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 711
    [failed_sms] => 711
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 638
    [cutting_sms] => 638
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 29
    [user_answered_sms] => 29
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 711
    [user_failed_sms] => 711
    [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] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764497227
    [create_date] => 1764497227
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764497233,"compaign_read_start_time":1764497234,"compaign_read_complete_time":1764497236,"compaign_send_start_time":1764497282,"compaign_send_complete_time":1764497292}
    [action_time] => {"api_allot_time":1764497233,"compaign_read_start_time":1764497234,"compaign_read_complete_time":1764497236,"compaign_send_start_time":1764497282,"compaign_send_complete_time":1764497292}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78836_30112025_033712PM_811
    [common_name] => sr170_78836_30112025_033712PM_811
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66405
    [temp_group_table] => contacts_temp_group_66405
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497522
    [last_credit_update_time] => 1764497522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78836
\compaign_type : Rans per 25.24586 
ans sms 1425
dnd sms 0

require answer perrequire answer per : 360

user answer per : 29
below is the redis data 331 /n/r
only no answer and busy will be convert, total number require 331 /n/r
UPDATE voice_compaign_detail_78836 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 245 UPDATE voice_compaign_detail_78836 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 245 Total Failed : 414 no_answer_count : 139 Busy count :107 congestion_count : 50 failed_count : 118UPDATE voice_compaign_detail_78836 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 139 UPDATE voice_compaign_detail_78836 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 107 UPDATE voice_compaign_detail_78836 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_78836 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='76', `user_busy_sms`='352', `user_congestion_sms`='50', `user_failed_sms`='563', `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`=78836 LIMIT 1 


Time Diff : 0.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>'1764238442'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.40939 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497523
    [last_credit_update_time] => 1764497523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.54035 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497524
    [last_credit_update_time] => 1764497524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.68505 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.22939 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497523
    [last_credit_update_time] => 1764497523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.39279 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497524
    [last_credit_update_time] => 1764497524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.64541 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.80295 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497523
    [last_credit_update_time] => 1764497523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.21837 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 102
    [credit_seq] => 102
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497524
    [last_credit_update_time] => 1764497524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.00168 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238621'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.33606 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.83157 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.35667 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78837
    [compaign_id] => 78837
    [1] => u29672
    [user_id] => u29672
    [2] => 66406,
    [group_ids] => 66406,
    [3] => 
    [sender_id] => 
    [4] => khanzode final.mp3
    [filename] => khanzode final.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764497241
    [start_date] => 1764497241
    [9] => 0
    [end_date] => 0
    [10] => 2367
    [total_sms] => 2367
    [11] => 2367
    [sent_sms] => 2367
    [12] => 0
    [duplicate_sms] => 0
    [13] => 48
    [answered_sms] => 48
    [14] => 171
    [busy_sms] => 171
    [15] => 0
    [congestion_sms] => 0
    [16] => 895
    [failed_sms] => 895
    [17] => 0
    [hangup_sms] => 0
    [18] => 164
    [no_answer_sms] => 164
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1089
    [cutting_sms] => 1089
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 48
    [user_answered_sms] => 48
    [27] => 171
    [user_busy_sms] => 171
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 895
    [user_failed_sms] => 895
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 164
    [user_no_answer_sms] => 164
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29672
    [created_by] => u29672
    [38] => 0
    [isScheduled] => 0
    [39] => 1764497241
    [create_date] => 1764497241
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764497248,"compaign_read_start_time":1764497249,"compaign_read_complete_time":1764497252,"compaign_send_start_time":1764497282,"compaign_send_complete_time":1764497295}
    [action_time] => {"api_allot_time":1764497248,"compaign_read_start_time":1764497249,"compaign_read_complete_time":1764497252,"compaign_send_start_time":1764497282,"compaign_send_complete_time":1764497295}
    [50] => 0
    [compaign_file] => 0
    [51] => u29672_78837_30112025_033726PM_617
    [common_name] => u29672_78837_30112025_033726PM_617
    [52] => 1764492290_u29672_voice.wav
    [voice_file] => 1764492290_u29672_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66406
    [temp_group_table] => contacts_temp_group_66406
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764497762
    [last_credit_update_time] => 1764497762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1877
    [user_voice_plan_id] => 1877
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170,u29672
    [uphierarchy] => admin,sr170,u29672
    [113] => 
    [extra_params_json] => 
)


Compaign : 78837
\compaign_type : Rans per 28.62081 
ans sms 2367
dnd sms 0

require answer perrequire answer per : 678

user answer per : 48
below is the redis data 630 UPDATE voice_compaign_detail_78837 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 630 Total Failed : 459 no_answer_count : 154 Busy count :118 congestion_count : 55 failed_count : 132UPDATE voice_compaign_detail_78837 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 UPDATE voice_compaign_detail_78837 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_78837 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_78837 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 132 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='678', `user_busy_sms`='289', `user_congestion_sms`='55', `user_failed_sms`='1027', `user_hangup_sms`='0', `user_no_answer_sms`='318', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78837 LIMIT 1 


Time Diff : 0.204

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.76805 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.80575 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.53033 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.06551 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.42941 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.63745 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238801'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.20128 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.90988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 103
    [credit_seq] => 103
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764497763
    [last_credit_update_time] => 1764497763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.29734 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.4839 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.02813 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.94344 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78831
    [compaign_id] => 78831
    [1] => r54
    [user_id] => r54
    [2] => 66403,
    [group_ids] => 66403,
    [3] => 
    [sender_id] => 
    [4] => major tanaji mane.mp3
    [filename] => major tanaji mane.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764497700
    [start_date] => 1764497700
    [9] => 0
    [end_date] => 0
    [10] => 390
    [total_sms] => 390
    [11] => 390
    [sent_sms] => 390
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 96
    [cutting_sms] => 96
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [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] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764496627
    [create_date] => 1764496627
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764497708,"compaign_read_start_time":1764497710,"compaign_read_complete_time":1764497711,"compaign_send_start_time":1764497762,"compaign_send_complete_time":1764497763}
    [action_time] => {"api_allot_time":1764497708,"compaign_read_start_time":1764497710,"compaign_read_complete_time":1764497711,"compaign_send_start_time":1764497762,"compaign_send_complete_time":1764497763}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78831_30112025_034505PM_227
    [common_name] => r54_78831_30112025_034505PM_227
    [52] => 1764396103_r54_voice.wav
    [voice_file] => 1764396103_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66403
    [temp_group_table] => contacts_temp_group_66403
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498001
    [last_credit_update_time] => 1764498001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78831
\compaign_type : Rans per 25.2421 
ans sms 390
dnd sms 164

require answer perrequire answer per : 58

user answer per : 27
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_78831 SET user_report='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_78831 SET user_report='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 : 64 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_78831 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78831 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_78831 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_78831 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`='58', `user_busy_sms`='55', `user_congestion_sms`='8', `user_failed_sms`='50', `user_hangup_sms`='0', `user_no_answer_sms`='55', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='164' WHERE `compaign_id`=78831 LIMIT 1 


Time Diff : 0.623

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.0678 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.48111 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.18623 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764238982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.79576 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.24952 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.32091 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239042'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.44858 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.12418 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498002
    [last_credit_update_time] => 1764498002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.67116 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.09279 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.59333 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.55067 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.89454 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.89244 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.92519 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78842
    [compaign_id] => 78842
    [1] => sr170
    [user_id] => sr170
    [2] => 66411,
    [group_ids] => 66411,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764497829
    [start_date] => 1764497829
    [9] => 0
    [end_date] => 0
    [10] => 1349
    [total_sms] => 1349
    [11] => 1349
    [sent_sms] => 1349
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 670
    [failed_sms] => 670
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 633
    [cutting_sms] => 633
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 670
    [user_failed_sms] => 670
    [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] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764497829
    [create_date] => 1764497829
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764497838,"compaign_read_start_time":1764497839,"compaign_read_complete_time":1764497841,"compaign_send_start_time":1764497882,"compaign_send_complete_time":1764497892}
    [action_time] => {"api_allot_time":1764497838,"compaign_read_start_time":1764497839,"compaign_read_complete_time":1764497841,"compaign_send_start_time":1764497882,"compaign_send_complete_time":1764497892}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78842_30112025_034715PM_717
    [common_name] => sr170_78842_30112025_034715PM_717
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66411
    [temp_group_table] => contacts_temp_group_66411
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764498302
    [last_credit_update_time] => 1764498302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78842
\compaign_type : Rans per 29.983 
ans sms 1349
dnd sms 0

require answer perrequire answer per : 405

user answer per : 20
below is the redis data 385 /n/r
only no answer and busy will be convert, total number require 385 /n/r
UPDATE voice_compaign_detail_78842 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 305 UPDATE voice_compaign_detail_78842 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 305 Total Failed : 328 no_answer_count : 110 Busy count :85 congestion_count : 39 failed_count : 94UPDATE voice_compaign_detail_78842 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_78842 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_78842 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_78842 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`='46', `user_busy_sms`='390', `user_congestion_sms`='39', `user_failed_sms`='459', `user_hangup_sms`='0', `user_no_answer_sms`='415', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78842 LIMIT 1 


Time Diff : 0.311

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.96175 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.34255 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.22371 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.78099 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.59858 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 105
    [credit_seq] => 105
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498243
    [last_credit_update_time] => 1764498243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.45165 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.27818 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.05741 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.1817 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.20484 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.06985 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.88775 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239462'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.23925 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.06519 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.64417 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.21438 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.47956 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764498483
    [last_credit_update_time] => 1764498483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.7006 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.29201 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.35646 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.82232 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.46303 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.6288 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.76262 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78843
    [compaign_id] => 78843
    [1] => u29684
    [user_id] => u29684
    [2] => 66413,
    [group_ids] => 66413,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764498476
    [start_date] => 1764498476
    [9] => 0
    [end_date] => 0
    [10] => 9847
    [total_sms] => 9847
    [11] => 9847
    [sent_sms] => 9847
    [12] => 0
    [duplicate_sms] => 0
    [13] => 945
    [answered_sms] => 945
    [14] => 497
    [busy_sms] => 497
    [15] => 11
    [congestion_sms] => 11
    [16] => 2080
    [failed_sms] => 2080
    [17] => 0
    [hangup_sms] => 0
    [18] => 904
    [no_answer_sms] => 904
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4891
    [cutting_sms] => 4891
    [22] => 519
    [dnd_sms] => 519
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 945
    [user_answered_sms] => 945
    [27] => 497
    [user_busy_sms] => 497
    [28] => 11
    [user_congestion_sms] => 11
    [29] => 2080
    [user_failed_sms] => 2080
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 904
    [user_no_answer_sms] => 904
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 519
    [user_dnd_sms] => 519
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764498466
    [create_date] => 1764498466
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764498484,"compaign_read_start_time":1764498485,"compaign_read_complete_time":1764498506,"compaign_send_start_time":1764498541,"compaign_send_complete_time":1764498573}
    [action_time] => {"api_allot_time":1764498484,"compaign_read_start_time":1764498485,"compaign_read_complete_time":1764498506,"compaign_send_start_time":1764498541,"compaign_send_complete_time":1764498573}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78843_30112025_035802PM_297
    [common_name] => u29684_78843_30112025_035802PM_297
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66413
    [temp_group_table] => contacts_temp_group_66413
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764498604
    [reschedule_last_check_time] => 1764498604
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498781
    [last_credit_update_time] => 1764498781
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78843
\compaign_type : Rans per 30.71805 
ans sms 9847
dnd sms 519

require answer perrequire answer per : 2866

user answer per : 945
below is the redis data 1921 UPDATE voice_compaign_detail_78843 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1921 Total Failed : 2976 no_answer_count : 993 Busy count :764 congestion_count : 354 failed_count : 865UPDATE voice_compaign_detail_78843 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 993 UPDATE voice_compaign_detail_78843 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 764 UPDATE voice_compaign_detail_78843 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 354 UPDATE voice_compaign_detail_78843 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 865 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2866', `user_busy_sms`='1261', `user_congestion_sms`='359', `user_failed_sms`='2945', `user_hangup_sms`='0', `user_no_answer_sms`='1897', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='519' WHERE `compaign_id`=78843 LIMIT 1 


Time Diff : 0.025

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.88907 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.15166 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.45747 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.93065 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.34027 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 107
    [credit_seq] => 107
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498722
    [last_credit_update_time] => 1764498722
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.6386 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239823'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.81793 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.33829 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.6834 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.29572 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.19852 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.07935 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764239942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.71539 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.10408 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.84521 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.6487 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.22353 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 108
    [credit_seq] => 108
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764498967
    [last_credit_update_time] => 1764498967
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.76783 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78846
    [compaign_id] => 78846
    [1] => sr170
    [user_id] => sr170
    [2] => 66416,
    [group_ids] => 66416,
    [3] => 
    [sender_id] => 
    [4] => sARANG.mp3
    [filename] => sARANG.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764498727
    [start_date] => 1764498727
    [9] => 0
    [end_date] => 0
    [10] => 1303
    [total_sms] => 1303
    [11] => 1303
    [sent_sms] => 1303
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 2
    [busy_sms] => 2
    [15] => 0
    [congestion_sms] => 0
    [16] => 697
    [failed_sms] => 697
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 591
    [cutting_sms] => 591
    [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] => 2
    [user_busy_sms] => 2
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 697
    [user_failed_sms] => 697
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 5
    [user_no_answer_sms] => 5
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764498727
    [create_date] => 1764498727
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764498862,"compaign_read_start_time":1764498863,"compaign_read_complete_time":1764498865,"compaign_send_start_time":1764498902,"compaign_send_complete_time":1764498905}
    [action_time] => {"api_allot_time":1764498862,"compaign_read_start_time":1764498863,"compaign_read_complete_time":1764498865,"compaign_send_start_time":1764498902,"compaign_send_complete_time":1764498905}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78846_30112025_040213PM_970
    [common_name] => sr170_78846_30112025_040213PM_970
    [52] => 1764396482_sr170_voice.wav
    [voice_file] => 1764396482_sr170_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66416
    [temp_group_table] => contacts_temp_group_66416
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499142
    [last_credit_update_time] => 1764499142
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78846
\compaign_type : Rans per 29.91285 
ans sms 1303
dnd sms 0

require answer perrequire answer per : 390

user answer per : 8
below is the redis data 382 /n/r
only no answer and busy will be convert, total number require 382 /n/r
UPDATE voice_compaign_detail_78846 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 291 UPDATE voice_compaign_detail_78846 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 291 Total Failed : 317 no_answer_count : 106 Busy count :82 congestion_count : 38 failed_count : 91UPDATE voice_compaign_detail_78846 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 UPDATE voice_compaign_detail_78846 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_78846 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_78846 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='15', `user_busy_sms`='373', `user_congestion_sms`='38', `user_failed_sms`='480', `user_hangup_sms`='0', `user_no_answer_sms`='397', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78846 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>'1764240062'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.18473 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.55073 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.38559 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.7264 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.82899 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.27265 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78844
    [compaign_id] => 78844
    [1] => u29684
    [user_id] => u29684
    [2] => 66414,
    [group_ids] => 66414,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764498530
    [start_date] => 1764498530
    [9] => 0
    [end_date] => 0
    [10] => 19692
    [total_sms] => 19692
    [11] => 19692
    [sent_sms] => 19692
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2215
    [answered_sms] => 2215
    [14] => 1076
    [busy_sms] => 1076
    [15] => 18
    [congestion_sms] => 18
    [16] => 2855
    [failed_sms] => 2855
    [17] => 0
    [hangup_sms] => 0
    [18] => 2029
    [no_answer_sms] => 2029
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 9148
    [cutting_sms] => 9148
    [22] => 2351
    [dnd_sms] => 2351
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2215
    [user_answered_sms] => 2215
    [27] => 1076
    [user_busy_sms] => 1076
    [28] => 18
    [user_congestion_sms] => 18
    [29] => 2855
    [user_failed_sms] => 2855
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2029
    [user_no_answer_sms] => 2029
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2351
    [user_dnd_sms] => 2351
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764498521
    [create_date] => 1764498521
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764498544,"compaign_read_start_time":1764498544,"compaign_read_complete_time":1764498585,"compaign_send_start_time":1764498603,"compaign_send_complete_time":1764498689}
    [action_time] => {"api_allot_time":1764498544,"compaign_read_start_time":1764498544,"compaign_read_complete_time":1764498585,"compaign_send_start_time":1764498603,"compaign_send_complete_time":1764498689}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78844_30112025_035901PM_485
    [common_name] => u29684_78844_30112025_035901PM_485
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66414
    [temp_group_table] => contacts_temp_group_66414
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764499203
    [reschedule_last_check_time] => 1764499203
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499262
    [last_credit_update_time] => 1764499262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78844
\compaign_type : Rans per 29.04431 
ans sms 19692
dnd sms 2351

require answer perrequire answer per : 5037

user answer per : 2215
below is the redis data 2822 UPDATE voice_compaign_detail_78844 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2822 Total Failed : 6329 no_answer_count : 2111 Busy count :1625 congestion_count : 752 failed_count : 1841UPDATE voice_compaign_detail_78844 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2111 UPDATE voice_compaign_detail_78844 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1625 UPDATE voice_compaign_detail_78844 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 752 UPDATE voice_compaign_detail_78844 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1841 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='5037', `user_busy_sms`='2701', `user_congestion_sms`='767', `user_failed_sms`='4696', `user_hangup_sms`='0', `user_no_answer_sms`='4140', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2351' WHERE `compaign_id`=78844 LIMIT 1 


Time Diff : 0.029

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.34692 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.46056 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.0564 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.34239 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.69867 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 109
    [credit_seq] => 109
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499203
    [last_credit_update_time] => 1764499203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.15808 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78841
    [compaign_id] => 78841
    [1] => u179
    [user_id] => u179
    [2] => 66410,
    [group_ids] => 66410,
    [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] => 1764498600
    [start_date] => 1764498600
    [9] => 0
    [end_date] => 0
    [10] => 107
    [total_sms] => 107
    [11] => 107
    [sent_sms] => 107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [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] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [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] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764497824
    [create_date] => 1764497824
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764498608,"compaign_read_start_time":1764498611,"compaign_read_complete_time":1764498612,"compaign_send_start_time":1764498662,"compaign_send_complete_time":1764498663}
    [action_time] => {"api_allot_time":1764498608,"compaign_read_start_time":1764498611,"compaign_read_complete_time":1764498612,"compaign_send_start_time":1764498662,"compaign_send_complete_time":1764498663}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78841_30112025_040006PM_116
    [common_name] => u179_78841_30112025_040006PM_116
    [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_66410
    [temp_group_table] => contacts_temp_group_66410
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499382
    [last_credit_update_time] => 1764499382
    [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 : 78841
\compaign_type : Rans per 27.51448 
ans sms 107
dnd sms 26

require answer perrequire answer per : 23

user answer per : 16
below is the redis data 7 /n/r
only no answer and busy will be convert, total number require 7 /n/r
UPDATE voice_compaign_detail_78841 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78841 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='23', `user_busy_sms`='36', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78841 LIMIT 1 


Time Diff : 4.636

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.97598 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.38124 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.42175 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78845
    [compaign_id] => 78845
    [1] => u29684
    [user_id] => u29684
    [2] => 66415,
    [group_ids] => 66415,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764498626
    [start_date] => 1764498626
    [9] => 0
    [end_date] => 0
    [10] => 14999
    [total_sms] => 14999
    [11] => 14999
    [sent_sms] => 14999
    [12] => 0
    [duplicate_sms] => 0
    [13] => 991
    [answered_sms] => 991
    [14] => 448
    [busy_sms] => 448
    [15] => 4
    [congestion_sms] => 4
    [16] => 4038
    [failed_sms] => 4038
    [17] => 0
    [hangup_sms] => 0
    [18] => 801
    [no_answer_sms] => 801
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6728
    [cutting_sms] => 6728
    [22] => 1989
    [dnd_sms] => 1989
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 991
    [user_answered_sms] => 991
    [27] => 448
    [user_busy_sms] => 448
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 4038
    [user_failed_sms] => 4038
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 801
    [user_no_answer_sms] => 801
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1989
    [user_dnd_sms] => 1989
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764498618
    [create_date] => 1764498618
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764498634,"compaign_read_start_time":1764498635,"compaign_read_complete_time":1764498676,"compaign_send_start_time":1764498721,"compaign_send_complete_time":1764498850}
    [action_time] => {"api_allot_time":1764498634,"compaign_read_start_time":1764498635,"compaign_read_complete_time":1764498676,"compaign_send_start_time":1764498721,"compaign_send_complete_time":1764498850}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78845_30112025_040032PM_675
    [common_name] => u29684_78845_30112025_040032PM_675
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66415
    [temp_group_table] => contacts_temp_group_66415
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764499442
    [last_credit_update_time] => 1764499442
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78845
\compaign_type : Rans per 30.19044 
ans sms 14999
dnd sms 1989

require answer perrequire answer per : 3928

user answer per : 991
below is the redis data 2937 UPDATE voice_compaign_detail_78845 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2937 Total Failed : 3793 no_answer_count : 1265 Busy count :974 congestion_count : 451 failed_count : 1103UPDATE voice_compaign_detail_78845 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1265 UPDATE voice_compaign_detail_78845 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 974 UPDATE voice_compaign_detail_78845 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 451 UPDATE voice_compaign_detail_78845 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1103 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3928', `user_busy_sms`='1422', `user_congestion_sms`='453', `user_failed_sms`='5141', `user_hangup_sms`='0', `user_no_answer_sms`='2066', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1989' WHERE `compaign_id`=78845 LIMIT 1 


Time Diff : 0.028

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.80213 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.16207 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.11314 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.22675 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.30309 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.32997 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.40939 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.45072 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 110
    [credit_seq] => 110
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499443
    [last_credit_update_time] => 1764499443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.01325 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.27156 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.35964 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.23602 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.30193 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.29384 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.79383 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78839
    [compaign_id] => 78839
    [1] => r54
    [user_id] => r54
    [2] => 66408,
    [group_ids] => 66408,
    [3] => 
    [sender_id] => 
    [4] => femail voice.mp3
    [filename] => femail voice.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764499500
    [start_date] => 1764499500
    [9] => 0
    [end_date] => 0
    [10] => 393
    [total_sms] => 393
    [11] => 393
    [sent_sms] => 393
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 101
    [cutting_sms] => 101
    [22] => 164
    [dnd_sms] => 164
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [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] => 164
    [user_dnd_sms] => 164
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764497525
    [create_date] => 1764497525
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764499507,"compaign_read_start_time":1764499507,"compaign_read_complete_time":1764499508,"compaign_send_start_time":1764499562,"compaign_send_complete_time":1764499563}
    [action_time] => {"api_allot_time":1764499507,"compaign_read_start_time":1764499507,"compaign_read_complete_time":1764499508,"compaign_send_start_time":1764499562,"compaign_send_complete_time":1764499563}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78839_30112025_041505PM_191
    [common_name] => r54_78839_30112025_041505PM_191
    [52] => 1764396374_r54_voice.wav
    [voice_file] => 1764396374_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66408
    [temp_group_table] => contacts_temp_group_66408
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499802
    [last_credit_update_time] => 1764499802
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78839
\compaign_type : Rans per 25.17459 
ans sms 393
dnd sms 164

require answer perrequire answer per : 58

user answer per : 24
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_78839 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78839 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 Total Failed : 67 no_answer_count : 23 Busy count :18 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_78839 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_78839 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78839 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_78839 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`='58', `user_busy_sms`='57', `user_congestion_sms`='8', `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`='164' WHERE `compaign_id`=78839 LIMIT 1 


Time Diff : 0.542

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.99581 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.27696 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.53199 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.6251 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.63607 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 111
    [credit_seq] => 111
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499683
    [last_credit_update_time] => 1764499683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.16566 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78854
    [compaign_id] => 78854
    [1] => u179
    [user_id] => u179
    [2] => 66425,
    [group_ids] => 66425,
    [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] => 1764499500
    [start_date] => 1764499500
    [9] => 0
    [end_date] => 0
    [10] => 84
    [total_sms] => 84
    [11] => 84
    [sent_sms] => 84
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 13
    [user_no_answer_sms] => 13
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764499622
    [create_date] => 1764499622
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764499625,"compaign_read_start_time":1764499627,"compaign_read_complete_time":1764499627,"compaign_send_start_time":1764499682,"compaign_send_complete_time":1764499683}
    [action_time] => {"api_allot_time":1764499625,"compaign_read_start_time":1764499627,"compaign_read_complete_time":1764499627,"compaign_send_start_time":1764499682,"compaign_send_complete_time":1764499683}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78854_30112025_041703PM_826
    [common_name] => u179_78854_30112025_041703PM_826
    [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_66425
    [temp_group_table] => contacts_temp_group_66425
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764499921
    [last_credit_update_time] => 1764499921
    [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 : 78854
\compaign_type : Rans per 27.76356 
ans sms 84
dnd sms 26

require answer perrequire answer per : 17

user answer per : 7
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_78854 SET user_report='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_78854 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='17', `user_busy_sms`='25', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78854 LIMIT 1 


Time Diff : 2.536

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.54183 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 112
    [credit_seq] => 112
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499929
    [last_credit_update_time] => 1764499929
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.36739 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.69451 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 112
    [credit_seq] => 112
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499929
    [last_credit_update_time] => 1764499929
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.27041 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240902'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.99272 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 112
    [credit_seq] => 112
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499929
    [last_credit_update_time] => 1764499929
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.99201 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764240961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.56706 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 112
    [credit_seq] => 112
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764499929
    [last_credit_update_time] => 1764499929
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.69804 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78855
    [compaign_id] => 78855
    [1] => u91
    [user_id] => u91
    [2] => 66426,
    [group_ids] => 66426,
    [3] => 
    [sender_id] => 
    [4] => vjy dec 01.mp3
    [filename] => vjy dec 01.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764499687
    [start_date] => 1764499687
    [9] => 0
    [end_date] => 0
    [10] => 1793
    [total_sms] => 1793
    [11] => 1793
    [sent_sms] => 1793
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 113
    [busy_sms] => 113
    [15] => 0
    [congestion_sms] => 0
    [16] => 408
    [failed_sms] => 408
    [17] => 0
    [hangup_sms] => 0
    [18] => 204
    [no_answer_sms] => 204
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 747
    [cutting_sms] => 747
    [22] => 320
    [dnd_sms] => 320
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 113
    [user_busy_sms] => 113
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 408
    [user_failed_sms] => 408
    [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] => 320
    [user_dnd_sms] => 320
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 0
    [isScheduled] => 0
    [39] => 1764499686
    [create_date] => 1764499686
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764499822,"compaign_read_start_time":1764499823,"compaign_read_complete_time":1764499826,"compaign_send_start_time":1764499862,"compaign_send_complete_time":1764499866}
    [action_time] => {"api_allot_time":1764499822,"compaign_read_start_time":1764499823,"compaign_read_complete_time":1764499826,"compaign_send_start_time":1764499862,"compaign_send_complete_time":1764499866}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_78855_30112025_041812PM_602
    [common_name] => u91_78855_30112025_041812PM_602
    [52] => 1764499686_u91_voice.wav
    [voice_file] => 1764499686_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_66426
    [temp_group_table] => contacts_temp_group_66426
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764500103
    [reschedule_last_check_time] => 1764500103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500102
    [last_credit_update_time] => 1764500102
    [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":1764501300}
    [rt_time] => {"1":1764501300}
    [104] => 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":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":0}
    [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 : 78855
\compaign_type : Rans per 28.32947 
ans sms 1793
dnd sms 320

require answer perrequire answer per : 418

user answer per : 1
below is the redis data 417 /n/r
only no answer and busy will be convert, total number require 417 /n/r
UPDATE voice_compaign_detail_78855 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 313 UPDATE voice_compaign_detail_78855 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 313 Total Failed : 333 no_answer_count : 112 Busy count :86 congestion_count : 40 failed_count : 95UPDATE voice_compaign_detail_78855 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 112 UPDATE voice_compaign_detail_78855 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_78855 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_78855 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='318', `user_busy_sms`='399', `user_congestion_sms`='40', `user_failed_sms`='291', `user_hangup_sms`='0', `user_no_answer_sms`='425', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='320' WHERE `compaign_id`=78855 LIMIT 1 


Time Diff : 0.152

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.28448 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 174
    [user_answered_sms] => 174
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.55451 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14605

user answer per : 174
below is the redis data 14431 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14431 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.259

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.14901 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241083'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.67602 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.03038 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15417

user answer per : 177
below is the redis data 15240 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15240 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.26

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.90195 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.15899 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.67533 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16322

user answer per : 177
below is the redis data 16145 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16145 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.261

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.06532 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241203'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.14925 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.32142 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15027

user answer per : 177
below is the redis data 14850 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14850 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.262

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 113
    [credit_seq] => 113
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500164
    [last_credit_update_time] => 1764500164
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.4427 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.09764 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.63525 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15750

user answer per : 177
below is the redis data 15573 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15573 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.263

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.84546 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.336 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.26315 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14995

user answer per : 177
below is the redis data 14818 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14818 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.264

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.46988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241382'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.38901 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.06153 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15434

user answer per : 177
below is the redis data 15257 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15257 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.36902 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.5307 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.56663 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15162

user answer per : 177
below is the redis data 14985 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14985 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.266

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 114
    [credit_seq] => 114
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500404
    [last_credit_update_time] => 1764500404
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.27248 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.98113 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.65417 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16860

user answer per : 177
below is the redis data 16683 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16683 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.268

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.28202 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78857
    [compaign_id] => 78857
    [1] => u179
    [user_id] => u179
    [2] => 66427,
    [group_ids] => 66427,
    [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] => 1764500400
    [start_date] => 1764500400
    [9] => 0
    [end_date] => 0
    [10] => 67
    [total_sms] => 67
    [11] => 67
    [sent_sms] => 67
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [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] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [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] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764500222
    [create_date] => 1764500222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764500407,"compaign_read_start_time":1764500409,"compaign_read_complete_time":1764500410,"compaign_send_start_time":1764500461,"compaign_send_complete_time":1764500462}
    [action_time] => {"api_allot_time":1764500407,"compaign_read_start_time":1764500409,"compaign_read_complete_time":1764500410,"compaign_send_start_time":1764500461,"compaign_send_complete_time":1764500462}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_78857_30112025_043005PM_658
    [common_name] => u179_78857_30112025_043005PM_658
    [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_66427
    [temp_group_table] => contacts_temp_group_66427
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1764500701
    [last_credit_update_time] => 1764500701
    [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 : 78857
\compaign_type : Rans per 30.96549 
ans sms 67
dnd sms 26

require answer perrequire answer per : 13

user answer per : 3
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_78857 SET user_report='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_78857 SET user_report='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`='13', `user_busy_sms`='15', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='13', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=78857 LIMIT 1 


Time Diff : 2.746

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.01204 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.61905 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16841

user answer per : 177
below is the redis data 16664 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16664 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.269

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.02764 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.43963 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.27335 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16651

user answer per : 177
below is the redis data 16474 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16474 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.27

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.85645 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78858
    [compaign_id] => 78858
    [1] => u122
    [user_id] => u122
    [2] => 66428,
    [group_ids] => 66428,
    [3] => 
    [sender_id] => 
    [4] => Swachhavoice19swacha_1129.mp3
    [filename] => Swachhavoice19swacha_1129.mp3
    [5] => 28
    [duration] => 28
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764500444
    [start_date] => 1764500444
    [9] => 0
    [end_date] => 0
    [10] => 312
    [total_sms] => 312
    [11] => 312
    [sent_sms] => 312
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 46
    [no_answer_sms] => 46
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 86
    [cutting_sms] => 86
    [22] => 87
    [dnd_sms] => 87
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 87
    [user_dnd_sms] => 87
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764500444
    [create_date] => 1764500444
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764500452,"compaign_read_start_time":1764500461,"compaign_read_complete_time":1764500462,"compaign_send_start_time":1764500522,"compaign_send_complete_time":1764500523}
    [action_time] => {"api_allot_time":1764500452,"compaign_read_start_time":1764500461,"compaign_read_complete_time":1764500462,"compaign_send_start_time":1764500522,"compaign_send_complete_time":1764500523}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78858_30112025_043049PM_517
    [common_name] => u122_78858_30112025_043049PM_517
    [52] => api_1764408805_u122_voice_643.wav
    [voice_file] => api_1764408805_u122_voice_643.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66428
    [temp_group_table] => contacts_temp_group_66428
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500762
    [last_credit_update_time] => 1764500762
    [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 : 78858
\compaign_type : Rans per 26.92344 
ans sms 312
dnd sms 87

require answer perrequire answer per : 61

user answer per : 39
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_78858 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78858 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 18 Total Failed : 56 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_78858 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78858 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78858 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78858 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='61', `user_busy_sms`='60', `user_congestion_sms`='7', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='68', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='87' WHERE `compaign_id`=78858 LIMIT 1 


Time Diff : 0.885

Array
(
    [0] => 78860
    [compaign_id] => 78860
    [1] => u122
    [user_id] => u122
    [2] => 66430,
    [group_ids] => 66430,
    [3] => 
    [sender_id] => 
    [4] => Lucky_AGlucnove29.mp3
    [filename] => Lucky_AGlucnove29.mp3
    [5] => 29
    [duration] => 29
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764500573
    [start_date] => 1764500573
    [9] => 0
    [end_date] => 0
    [10] => 57
    [total_sms] => 57
    [11] => 57
    [sent_sms] => 57
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [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] => 18
    [dnd_sms] => 18
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [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] => 18
    [user_dnd_sms] => 18
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764500573
    [create_date] => 1764500573
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764500583,"compaign_read_start_time":1764500585,"compaign_read_complete_time":1764500585,"compaign_send_start_time":1764500641,"compaign_send_complete_time":1764500643}
    [action_time] => {"api_allot_time":1764500583,"compaign_read_start_time":1764500585,"compaign_read_complete_time":1764500585,"compaign_send_start_time":1764500641,"compaign_send_complete_time":1764500643}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78860_30112025_043302PM_393
    [common_name] => u122_78860_30112025_043302PM_393
    [52] => api_1764394092_u122_voice_500.wav
    [voice_file] => api_1764394092_u122_voice_500.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66430
    [temp_group_table] => contacts_temp_group_66430
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500822
    [last_credit_update_time] => 1764500822
    [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 : 78860
\compaign_type : Rans per 25.67262 
ans sms 57
dnd sms 18

require answer perrequire answer per : 11

user answer per : 8
below is the redis data 3 /n/r
only no answer and busy will be convert, total number require 3 /n/r
UPDATE voice_compaign_detail_78860 SET user_report='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_78860 SET user_report='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`='11', `user_busy_sms`='9', `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`='18' WHERE `compaign_id`=78860 LIMIT 1 


Time Diff : 2.737

Array
(
    [0] => 78861
    [compaign_id] => 78861
    [1] => u371
    [user_id] => u371
    [2] => 66431,
    [group_ids] => 66431,
    [3] => 
    [sender_id] => 
    [4] => Lakkampally Voice.mp3
    [filename] => Lakkampally Voice.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764500576
    [start_date] => 1764500576
    [9] => 0
    [end_date] => 0
    [10] => 168
    [total_sms] => 168
    [11] => 168
    [sent_sms] => 168
    [12] => 0
    [duplicate_sms] => 0
    [13] => 33
    [answered_sms] => 33
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 32
    [cutting_sms] => 32
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 33
    [user_answered_sms] => 33
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 41
    [user_no_answer_sms] => 41
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764500576
    [create_date] => 1764500576
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764500584,"compaign_read_start_time":1764500588,"compaign_read_complete_time":1764500588,"compaign_send_start_time":1764500641,"compaign_send_complete_time":1764500644}
    [action_time] => {"api_allot_time":1764500584,"compaign_read_start_time":1764500588,"compaign_read_complete_time":1764500588,"compaign_send_start_time":1764500641,"compaign_send_complete_time":1764500644}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_78861_30112025_043302PM_373
    [common_name] => u371_78861_30112025_043302PM_373
    [52] => 1764323085_u371_voice.wav
    [voice_file] => 1764323085_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66431
    [temp_group_table] => contacts_temp_group_66431
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500822
    [last_credit_update_time] => 1764500822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 78861
\compaign_type : Rans per 28.49722 
ans sms 168
dnd sms 0

require answer perrequire answer per : 48

user answer per : 33
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_78861 SET user_report='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_78861 SET user_report='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 : 25 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_78861 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78861 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78861 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78861 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`='48', `user_busy_sms`='32', `user_congestion_sms`='3', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='49', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78861 LIMIT 1 


Time Diff : 0.732

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241682'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.46881 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.77336 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15826

user answer per : 177
below is the redis data 15649 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15649 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.271

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 115
    [credit_seq] => 115
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500644
    [last_credit_update_time] => 1764500644
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.14012 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.99114 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.09836 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16555

user answer per : 177
below is the redis data 16378 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16378 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.272

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.28835 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.98133 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.39532 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16718

user answer per : 177
below is the redis data 16541 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16541 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.273

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.62976 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.05639 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.1512 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16584

user answer per : 177
below is the redis data 16407 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16407 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.274

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.98497 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.92233 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.82388 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15854

user answer per : 177
below is the redis data 15677 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15677 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.275

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 116
    [credit_seq] => 116
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764500883
    [last_credit_update_time] => 1764500883
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.01173 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764241982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.52564 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.11491 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14364

user answer per : 177
below is the redis data 14187 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14187 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.276

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.55195 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78865
    [compaign_id] => 78865
    [1] => u122
    [user_id] => u122
    [2] => 66433,
    [group_ids] => 66433,
    [3] => 
    [sender_id] => 
    [4] => kunal9503audiofromkunal28.mp3
    [filename] => kunal9503audiofromkunal28.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764500812
    [start_date] => 1764500812
    [9] => 0
    [end_date] => 0
    [10] => 278
    [total_sms] => 278
    [11] => 278
    [sent_sms] => 278
    [12] => 0
    [duplicate_sms] => 0
    [13] => 56
    [answered_sms] => 56
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 47
    [dnd_sms] => 47
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 56
    [user_answered_sms] => 56
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [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] => 47
    [user_dnd_sms] => 47
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764500812
    [create_date] => 1764500812
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764500824,"compaign_read_start_time":1764500824,"compaign_read_complete_time":1764500826,"compaign_send_start_time":1764500882,"compaign_send_complete_time":1764500883}
    [action_time] => {"api_allot_time":1764500824,"compaign_read_start_time":1764500824,"compaign_read_complete_time":1764500826,"compaign_send_start_time":1764500882,"compaign_send_complete_time":1764500883}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78865_30112025_043702PM_631
    [common_name] => u122_78865_30112025_043702PM_631
    [52] => api_1764314973_u122_voice_958.wav
    [voice_file] => api_1764314973_u122_voice_958.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66433
    [temp_group_table] => contacts_temp_group_66433
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501122
    [last_credit_update_time] => 1764501122
    [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 : 78865
\compaign_type : Rans per 25.10986 
ans sms 278
dnd sms 47

require answer perrequire answer per : 59

user answer per : 56
below is the redis data 3 /n/r
only no answer and busy will be convert, total number require 3 /n/r
UPDATE voice_compaign_detail_78865 SET user_report='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_78865 SET user_report='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 : 72 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_78865 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_78865 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78865 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78865 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`='59', `user_busy_sms`='44', `user_congestion_sms`='9', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='77', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='47' WHERE `compaign_id`=78865 LIMIT 1 


Time Diff : 0.986

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.05512 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.23153 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14428

user answer per : 177
below is the redis data 14251 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14251 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.277

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.20036 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.8348 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.25638 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13892

user answer per : 177
below is the redis data 13715 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13715 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.278

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.87302 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.25756 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.47965 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15114

user answer per : 177
below is the redis data 14937 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14937 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.28

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 117
    [credit_seq] => 117
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501123
    [last_credit_update_time] => 1764501123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.0054 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.77585 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.82122 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16952

user answer per : 177
below is the redis data 16775 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16775 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.281

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.2949 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78867
    [compaign_id] => 78867
    [1] => u29676
    [user_id] => u29676
    [2] => 66435,
    [group_ids] => 66435,
    [3] => 
    [sender_id] => 
    [4] => manisha_ghawane_ward14.mp3
    [filename] => manisha_ghawane_ward14.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764500942
    [start_date] => 1764500942
    [9] => 0
    [end_date] => 0
    [10] => 1203
    [total_sms] => 1203
    [11] => 1203
    [sent_sms] => 1203
    [12] => 0
    [duplicate_sms] => 0
    [13] => 162
    [answered_sms] => 162
    [14] => 76
    [busy_sms] => 76
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 143
    [no_answer_sms] => 143
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 473
    [cutting_sms] => 473
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 162
    [user_answered_sms] => 162
    [27] => 76
    [user_busy_sms] => 76
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 143
    [user_no_answer_sms] => 143
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764500941
    [create_date] => 1764500941
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501078,"compaign_read_start_time":1764501079,"compaign_read_complete_time":1764501082,"compaign_send_start_time":1764501122,"compaign_send_complete_time":1764501125}
    [action_time] => {"api_allot_time":1764501078,"compaign_read_start_time":1764501079,"compaign_read_complete_time":1764501082,"compaign_send_start_time":1764501122,"compaign_send_complete_time":1764501125}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78867_30112025_043907PM_146
    [common_name] => u29676_78867_30112025_043907PM_146
    [52] => 1764487691_u29676_voice.wav
    [voice_file] => 1764487691_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66435
    [temp_group_table] => contacts_temp_group_66435
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501362
    [last_credit_update_time] => 1764501362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78867
\compaign_type : Rans per 27.91076 
ans sms 1203
dnd sms 193

require answer perrequire answer per : 282

user answer per : 162
below is the redis data 120 UPDATE voice_compaign_detail_78867 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 120 Total Failed : 353 no_answer_count : 118 Busy count :91 congestion_count : 42 failed_count : 102UPDATE voice_compaign_detail_78867 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_78867 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_78867 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78867 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='282', `user_busy_sms`='167', `user_congestion_sms`='42', `user_failed_sms`='258', `user_hangup_sms`='0', `user_no_answer_sms`='261', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78867 LIMIT 1 


Time Diff : 0.228

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242281'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.5671 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.29114 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14461

user answer per : 177
below is the redis data 14284 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14284 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.282

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.27525 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78868
    [compaign_id] => 78868
    [1] => u29676
    [user_id] => u29676
    [2] => 66439,
    [group_ids] => 66439,
    [3] => 
    [sender_id] => 
    [4] => Raju_ringole_ward8.mp3
    [filename] => Raju_ringole_ward8.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501124
    [start_date] => 1764501124
    [9] => 0
    [end_date] => 0
    [10] => 391
    [total_sms] => 391
    [11] => 391
    [sent_sms] => 391
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 112
    [cutting_sms] => 112
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501124
    [create_date] => 1764501124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501133,"compaign_read_start_time":1764501133,"compaign_read_complete_time":1764501135,"compaign_send_start_time":1764501182,"compaign_send_complete_time":1764501183}
    [action_time] => {"api_allot_time":1764501133,"compaign_read_start_time":1764501133,"compaign_read_complete_time":1764501135,"compaign_send_start_time":1764501182,"compaign_send_complete_time":1764501183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78868_30112025_044210PM_503
    [common_name] => u29676_78868_30112025_044210PM_503
    [52] => 1764489384_u29676_voice.wav
    [voice_file] => 1764489384_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66439
    [temp_group_table] => contacts_temp_group_66439
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501421
    [last_credit_update_time] => 1764501421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78868
\compaign_type : Rans per 28.95395 
ans sms 391
dnd sms 116

require answer perrequire answer per : 80

user answer per : 40
below is the redis data 40 UPDATE voice_compaign_detail_78868 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 40 Total Failed : 72 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_78868 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_78868 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_78868 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_78868 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='80', `user_busy_sms`='54', `user_congestion_sms`='9', `user_failed_sms`='57', `user_hangup_sms`='0', `user_no_answer_sms`='75', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=78868 LIMIT 1 


Time Diff : 0.701

Array
(
    [0] => 78870
    [compaign_id] => 78870
    [1] => u29676
    [user_id] => u29676
    [2] => 66437,
    [group_ids] => 66437,
    [3] => 
    [sender_id] => 
    [4] => Kailash_bobde_ward1mp3.mp3
    [filename] => Kailash_bobde_ward1mp3.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501124
    [start_date] => 1764501124
    [9] => 0
    [end_date] => 0
    [10] => 538
    [total_sms] => 538
    [11] => 538
    [sent_sms] => 538
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 56
    [failed_sms] => 56
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 159
    [cutting_sms] => 159
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 56
    [user_failed_sms] => 56
    [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] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501124
    [create_date] => 1764501124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501131,"compaign_read_start_time":1764501136,"compaign_read_complete_time":1764501137,"compaign_send_start_time":1764501182,"compaign_send_complete_time":1764501183}
    [action_time] => {"api_allot_time":1764501131,"compaign_read_start_time":1764501136,"compaign_read_complete_time":1764501137,"compaign_send_start_time":1764501182,"compaign_send_complete_time":1764501183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78870_30112025_044210PM_534
    [common_name] => u29676_78870_30112025_044210PM_534
    [52] => 1764489629_u29676_voice.wav
    [voice_file] => 1764489629_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66437
    [temp_group_table] => contacts_temp_group_66437
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501422
    [last_credit_update_time] => 1764501422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78870
\compaign_type : Rans per 28.56793 
ans sms 538
dnd sms 172

require answer perrequire answer per : 105

user answer per : 39
below is the redis data 66 UPDATE voice_compaign_detail_78870 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 66 Total Failed : 93 no_answer_count : 32 Busy count :24 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_78870 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_78870 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_78870 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78870 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`='105', `user_busy_sms`='73', `user_congestion_sms`='12', `user_failed_sms`='81', `user_hangup_sms`='0', `user_no_answer_sms`='95', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78870 LIMIT 1 


Time Diff : 0.509

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242342'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.60244 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.66685 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15767

user answer per : 177
below is the redis data 15590 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15590 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.283

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.38212 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78872
    [compaign_id] => 78872
    [1] => u29676
    [user_id] => u29676
    [2] => 66438,
    [group_ids] => 66438,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501184
    [start_date] => 1764501184
    [9] => 0
    [end_date] => 0
    [10] => 5050
    [total_sms] => 5050
    [11] => 5050
    [sent_sms] => 5050
    [12] => 0
    [duplicate_sms] => 0
    [13] => 201
    [answered_sms] => 201
    [14] => 338
    [busy_sms] => 338
    [15] => 0
    [congestion_sms] => 0
    [16] => 586
    [failed_sms] => 586
    [17] => 0
    [hangup_sms] => 0
    [18] => 395
    [no_answer_sms] => 395
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1584
    [cutting_sms] => 1584
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 201
    [user_answered_sms] => 201
    [27] => 338
    [user_busy_sms] => 338
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 586
    [user_failed_sms] => 586
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 395
    [user_no_answer_sms] => 395
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501184
    [create_date] => 1764501184
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501192,"compaign_read_start_time":1764501194,"compaign_read_complete_time":1764501204,"compaign_send_start_time":1764501241,"compaign_send_complete_time":1764501254}
    [action_time] => {"api_allot_time":1764501192,"compaign_read_start_time":1764501194,"compaign_read_complete_time":1764501204,"compaign_send_start_time":1764501241,"compaign_send_complete_time":1764501254}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78872_30112025_044310PM_181
    [common_name] => u29676_78872_30112025_044310PM_181
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66438
    [temp_group_table] => contacts_temp_group_66438
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501482
    [last_credit_update_time] => 1764501482
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78872
\compaign_type : Rans per 30.46145 
ans sms 5050
dnd sms 1946

require answer perrequire answer per : 946

user answer per : 201
below is the redis data 745 UPDATE voice_compaign_detail_78872 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 745 Total Failed : 839 no_answer_count : 280 Busy count :216 congestion_count : 100 failed_count : 243UPDATE voice_compaign_detail_78872 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 280 UPDATE voice_compaign_detail_78872 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 216 UPDATE voice_compaign_detail_78872 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_78872 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 243 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='946', `user_busy_sms`='554', `user_congestion_sms`='100', `user_failed_sms`='829', `user_hangup_sms`='0', `user_no_answer_sms`='675', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78872 LIMIT 1 


Time Diff : 0.055

Array
(
    [0] => 78873
    [compaign_id] => 78873
    [1] => u122
    [user_id] => u122
    [2] => 66441,
    [group_ids] => 66441,
    [3] => 
    [sender_id] => 
    [4] => kunal9503audiofromkunal28.mp3
    [filename] => kunal9503audiofromkunal28.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764501245
    [start_date] => 1764501245
    [9] => 0
    [end_date] => 0
    [10] => 151
    [total_sms] => 151
    [11] => 151
    [sent_sms] => 151
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 23
    [dnd_sms] => 23
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 23
    [user_dnd_sms] => 23
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501245
    [create_date] => 1764501245
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501254,"compaign_read_start_time":1764501256,"compaign_read_complete_time":1764501256,"compaign_send_start_time":1764501302,"compaign_send_complete_time":1764501303}
    [action_time] => {"api_allot_time":1764501254,"compaign_read_start_time":1764501256,"compaign_read_complete_time":1764501256,"compaign_send_start_time":1764501302,"compaign_send_complete_time":1764501303}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78873_30112025_044411PM_237
    [common_name] => u122_78873_30112025_044411PM_237
    [52] => api_1764314973_u122_voice_958.wav
    [voice_file] => api_1764314973_u122_voice_958.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66441
    [temp_group_table] => contacts_temp_group_66441
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501542
    [last_credit_update_time] => 1764501542
    [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 : 78873
\compaign_type : Rans per 26.37708 
ans sms 151
dnd sms 23

require answer perrequire answer per : 34

user answer per : 36
Total Failed : 23 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_78873 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_78873 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78873 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78873 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`='36', `user_busy_sms`='21', `user_congestion_sms`='3', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='44', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='23' WHERE `compaign_id`=78873 LIMIT 1 


Time Diff : 1.411

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242401'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.91886 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.5946 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16278

user answer per : 177
below is the redis data 16101 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16101 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.284

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 118
    [credit_seq] => 118
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501363
    [last_credit_update_time] => 1764501363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.14196 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.60308 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.36661 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13952

user answer per : 177
below is the redis data 13775 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13775 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.285

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.32272 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78869
    [compaign_id] => 78869
    [1] => u29676
    [user_id] => u29676
    [2] => 66440,
    [group_ids] => 66440,
    [3] => 
    [sender_id] => 
    [4] => prabhag1wani.wav
    [filename] => prabhag1wani.wav
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501124
    [start_date] => 1764501124
    [9] => 0
    [end_date] => 0
    [10] => 459
    [total_sms] => 459
    [11] => 459
    [sent_sms] => 459
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 107
    [cutting_sms] => 107
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [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] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501124
    [create_date] => 1764501124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501261,"compaign_read_start_time":1764501302,"compaign_read_complete_time":1764501303,"compaign_send_start_time":1764501362,"compaign_send_complete_time":1764501364}
    [action_time] => {"api_allot_time":1764501261,"compaign_read_start_time":1764501302,"compaign_read_complete_time":1764501303,"compaign_send_start_time":1764501362,"compaign_send_complete_time":1764501364}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78869_30112025_044210PM_320
    [common_name] => u29676_78869_30112025_044210PM_320
    [52] => 1764485024_u29676_voice.wav
    [voice_file] => 1764485024_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66440
    [temp_group_table] => contacts_temp_group_66440
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501601
    [last_credit_update_time] => 1764501601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78869
\compaign_type : Rans per 30.52236 
ans sms 459
dnd sms 172

require answer perrequire answer per : 88

user answer per : 32
below is the redis data 56 UPDATE voice_compaign_detail_78869 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 56 Total Failed : 51 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 12UPDATE voice_compaign_detail_78869 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78869 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_78869 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78869 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='88', `user_busy_sms`='56', `user_congestion_sms`='7', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78869 LIMIT 1 


Time Diff : 0.597

Array
(
    [0] => 78871
    [compaign_id] => 78871
    [1] => u29676
    [user_id] => u29676
    [2] => 66436,
    [group_ids] => 66436,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501173
    [start_date] => 1764501173
    [9] => 0
    [end_date] => 0
    [10] => 4095
    [total_sms] => 4095
    [11] => 4095
    [sent_sms] => 4095
    [12] => 0
    [duplicate_sms] => 0
    [13] => 126
    [answered_sms] => 126
    [14] => 253
    [busy_sms] => 253
    [15] => 2
    [congestion_sms] => 2
    [16] => 502
    [failed_sms] => 502
    [17] => 0
    [hangup_sms] => 0
    [18] => 260
    [no_answer_sms] => 260
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1006
    [cutting_sms] => 1006
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 126
    [user_answered_sms] => 126
    [27] => 253
    [user_busy_sms] => 253
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 502
    [user_failed_sms] => 502
    [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] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501173
    [create_date] => 1764501173
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501312,"compaign_read_start_time":1764501313,"compaign_read_complete_time":1764501321,"compaign_send_start_time":1764501362,"compaign_send_complete_time":1764501368}
    [action_time] => {"api_allot_time":1764501312,"compaign_read_start_time":1764501313,"compaign_read_complete_time":1764501321,"compaign_send_start_time":1764501362,"compaign_send_complete_time":1764501368}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78871_30112025_044302PM_371
    [common_name] => u29676_78871_30112025_044302PM_371
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66436
    [temp_group_table] => contacts_temp_group_66436
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501601
    [last_credit_update_time] => 1764501601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78871
\compaign_type : Rans per 27.35905 
ans sms 4095
dnd sms 1946

require answer perrequire answer per : 588

user answer per : 126
below is the redis data 462 UPDATE voice_compaign_detail_78871 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 462 Total Failed : 545 no_answer_count : 182 Busy count :140 congestion_count : 65 failed_count : 158UPDATE voice_compaign_detail_78871 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 182 UPDATE voice_compaign_detail_78871 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 140 UPDATE voice_compaign_detail_78871 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_78871 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 158 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='588', `user_busy_sms`='393', `user_congestion_sms`='66', `user_failed_sms`='660', `user_hangup_sms`='0', `user_no_answer_sms`='442', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78871 LIMIT 1 


Time Diff : 0.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>'1764242521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.96393 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.29898 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13915

user answer per : 177
below is the redis data 13738 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13738 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.286

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07831 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78859
    [compaign_id] => 78859
    [1] => u91
    [user_id] => u91
    [2] => 66429,
    [group_ids] => 66429,
    [3] => 
    [sender_id] => 
    [4] => vjy dec 01.mp3
    [filename] => vjy dec 01.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501300
    [start_date] => 1764501300
    [9] => 0
    [end_date] => 0
    [10] => 1475
    [total_sms] => 1475
    [11] => 1475
    [sent_sms] => 1475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 165
    [answered_sms] => 165
    [14] => 77
    [busy_sms] => 77
    [15] => 0
    [congestion_sms] => 0
    [16] => 228
    [failed_sms] => 228
    [17] => 0
    [hangup_sms] => 0
    [18] => 106
    [no_answer_sms] => 106
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 579
    [cutting_sms] => 579
    [22] => 320
    [dnd_sms] => 320
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 165
    [user_answered_sms] => 165
    [27] => 77
    [user_busy_sms] => 77
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 228
    [user_failed_sms] => 228
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 106
    [user_no_answer_sms] => 106
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 320
    [user_dnd_sms] => 320
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 1
    [isScheduled] => 1
    [39] => 1764500528
    [create_date] => 1764500528
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501308,"compaign_read_start_time":1764501365,"compaign_read_complete_time":1764501368,"compaign_send_start_time":1764501422,"compaign_send_complete_time":1764501425}
    [action_time] => {"api_allot_time":1764501308,"compaign_read_start_time":1764501365,"compaign_read_complete_time":1764501368,"compaign_send_start_time":1764501422,"compaign_send_complete_time":1764501425}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_78859_30112025_044505PM_919
    [common_name] => u91_78859_30112025_044505PM_919
    [52] => 1764499686_u91_voice.wav
    [voice_file] => 1764499686_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_66429
    [temp_group_table] => contacts_temp_group_66429
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501662
    [last_credit_update_time] => 1764501662
    [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":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":0}
    [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 : 78859
\compaign_type : Rans per 30.51163 
ans sms 1475
dnd sms 320

require answer perrequire answer per : 353

user answer per : 165
below is the redis data 188 /n/r
only no answer and busy will be convert, total number require 188 /n/r
UPDATE voice_compaign_detail_78859 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 UPDATE voice_compaign_detail_78859 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 Total Failed : 351 no_answer_count : 118 Busy count :91 congestion_count : 42 failed_count : 100UPDATE voice_compaign_detail_78859 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_78859 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_78859 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_78859 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`='348', `user_busy_sms`='240', `user_congestion_sms`='42', `user_failed_sms`='258', `user_hangup_sms`='0', `user_no_answer_sms`='267', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='320' WHERE `compaign_id`=78859 LIMIT 1 


Time Diff : 0.185

Array
(
    [0] => 78863
    [compaign_id] => 78863
    [1] => u122
    [user_id] => u122
    [2] => 66432,
    [group_ids] => 66432,
    [3] => 
    [sender_id] => 
    [4] => Lucky_AGlucnove29.mp3
    [filename] => Lucky_AGlucnove29.mp3
    [5] => 29
    [duration] => 29
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1764501300
    [start_date] => 1764501300
    [9] => 0
    [end_date] => 0
    [10] => 191
    [total_sms] => 191
    [11] => 191
    [sent_sms] => 191
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 54
    [dnd_sms] => 54
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => 54
    [user_dnd_sms] => 54
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1764500627
    [create_date] => 1764500627
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501308,"compaign_read_start_time":1764501368,"compaign_read_complete_time":1764501368,"compaign_send_start_time":1764501422,"compaign_send_complete_time":1764501423}
    [action_time] => {"api_allot_time":1764501308,"compaign_read_start_time":1764501368,"compaign_read_complete_time":1764501368,"compaign_send_start_time":1764501422,"compaign_send_complete_time":1764501423}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_78863_30112025_044505PM_770
    [common_name] => u122_78863_30112025_044505PM_770
    [52] => api_1764394092_u122_voice_500.wav
    [voice_file] => api_1764394092_u122_voice_500.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_66432
    [temp_group_table] => contacts_temp_group_66432
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501662
    [last_credit_update_time] => 1764501662
    [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 : 78863
\compaign_type : Rans per 29.93286 
ans sms 191
dnd sms 54

require answer perrequire answer per : 42

user answer per : 19
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_78863 SET user_report='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_78863 SET user_report='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 : 15 no_answer_count : 6 Busy count :4 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_78863 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78863 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_78863 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78863 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='42', `user_busy_sms`='37', `user_congestion_sms`='2', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='44', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='54' WHERE `compaign_id`=78863 LIMIT 1 


Time Diff : 1.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>'1764242581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.68096 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.06164 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14884

user answer per : 177
below is the redis data 14707 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14707 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.287

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.16804 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.99171 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.69763 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16334

user answer per : 177
below is the redis data 16157 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16157 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.288

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501602
    [last_credit_update_time] => 1764501602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.75673 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.28291 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.08338 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16546

user answer per : 177
below is the redis data 16369 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16369 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.289

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.84676 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.03557 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.35828 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15048

user answer per : 177
below is the redis data 14871 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14871 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.29

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.98635 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242822'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.07022 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.73924 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16907

user answer per : 177
below is the redis data 16730 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16730 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.292

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.94868 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.60153 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.43545 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15090

user answer per : 177
below is the redis data 14913 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14913 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.293

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 120
    [credit_seq] => 120
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764501843
    [last_credit_update_time] => 1764501843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.35864 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764242942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.76411 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.83777 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16961

user answer per : 177
below is the redis data 16784 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16784 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.66445 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78875
    [compaign_id] => 78875
    [1] => u29690
    [user_id] => u29690
    [2] => 66443,
    [group_ids] => 66443,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764501787
    [start_date] => 1764501787
    [9] => 0
    [end_date] => 0
    [10] => 356
    [total_sms] => 356
    [11] => 356
    [sent_sms] => 356
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 72
    [no_answer_sms] => 72
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 98
    [cutting_sms] => 98
    [22] => 74
    [dnd_sms] => 74
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [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] => 74
    [user_dnd_sms] => 74
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764501787
    [create_date] => 1764501787
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764501797,"compaign_read_start_time":1764501799,"compaign_read_complete_time":1764501800,"compaign_send_start_time":1764501842,"compaign_send_complete_time":1764501843}
    [action_time] => {"api_allot_time":1764501797,"compaign_read_start_time":1764501799,"compaign_read_complete_time":1764501800,"compaign_send_start_time":1764501842,"compaign_send_complete_time":1764501843}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78875_30112025_045313PM_222
    [common_name] => u29690_78875_30112025_045313PM_222
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_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_66443
    [temp_group_table] => contacts_temp_group_66443
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764501902
    [reschedule_last_check_time] => 1764501902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502081
    [last_credit_update_time] => 1764502081
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1897
    [user_voice_plan_id] => 1897
    [85] => 27
    [voice_plan_id] => 27
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [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,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78875
\compaign_type : Rans per 29.87805 
ans sms 356
dnd sms 74

require answer perrequire answer per : 85

user answer per : 46
below is the redis data 39 UPDATE voice_compaign_detail_78875 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 59 no_answer_count : 20 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_78875 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78875 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78875 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_78875 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`='85', `user_busy_sms`='38', `user_congestion_sms`='8', `user_failed_sms`='59', `user_hangup_sms`='0', `user_no_answer_sms`='92', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='74' WHERE `compaign_id`=78875 LIMIT 1 


Time Diff : 0.68

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.44674 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.25801 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14442

user answer per : 177
below is the redis data 14265 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14265 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.39704 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.00321 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.81859 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16951

user answer per : 177
below is the redis data 16774 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16774 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.94683 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243122'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.50966 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.9292 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15362

user answer per : 177
below is the redis data 15185 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15185 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502088
    [last_credit_update_time] => 1764502088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.58579 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.10875 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.46335 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16755

user answer per : 177
below is the redis data 16578 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16578 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.25745 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.66115 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.9546 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17026

user answer per : 177
below is the redis data 16849 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16849 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.3231 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.16964 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.28321 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16106

user answer per : 177
below is the redis data 15929 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15929 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.31557 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.15789 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.45715 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15102

user answer per : 177
below is the redis data 14925 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14925 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 122
    [credit_seq] => 122
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502329
    [last_credit_update_time] => 1764502329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.80745 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78879
    [compaign_id] => 78879
    [1] => u29690
    [user_id] => u29690
    [2] => 66447,
    [group_ids] => 66447,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502082
    [start_date] => 1764502082
    [9] => 0
    [end_date] => 0
    [10] => 13489
    [total_sms] => 13489
    [11] => 13489
    [sent_sms] => 13489
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1818
    [answered_sms] => 1818
    [14] => 974
    [busy_sms] => 974
    [15] => 6
    [congestion_sms] => 6
    [16] => 1208
    [failed_sms] => 1208
    [17] => 0
    [hangup_sms] => 0
    [18] => 1717
    [no_answer_sms] => 1717
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6103
    [cutting_sms] => 6103
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1818
    [user_answered_sms] => 1818
    [27] => 974
    [user_busy_sms] => 974
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 1208
    [user_failed_sms] => 1208
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1717
    [user_no_answer_sms] => 1717
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502072
    [create_date] => 1764502072
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502090,"compaign_read_start_time":1764502090,"compaign_read_complete_time":1764502123,"compaign_send_start_time":1764502142,"compaign_send_complete_time":1764502206}
    [action_time] => {"api_allot_time":1764502090,"compaign_read_start_time":1764502090,"compaign_read_complete_time":1764502123,"compaign_send_start_time":1764502142,"compaign_send_complete_time":1764502206}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78879_30112025_045807PM_603
    [common_name] => u29690_78879_30112025_045807PM_603
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66447
    [temp_group_table] => contacts_temp_group_66447
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764502503
    [reschedule_last_check_time] => 1764502503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502561
    [last_credit_update_time] => 1764502561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78879
\compaign_type : Rans per 30.89883 
ans sms 13489
dnd sms 1663

require answer perrequire answer per : 3655

user answer per : 1818
below is the redis data 1837 UPDATE voice_compaign_detail_78879 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1837 Total Failed : 4267 no_answer_count : 1423 Busy count :1095 congestion_count : 507 failed_count : 1242UPDATE voice_compaign_detail_78879 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1423 UPDATE voice_compaign_detail_78879 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1095 UPDATE voice_compaign_detail_78879 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 507 UPDATE voice_compaign_detail_78879 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1242 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3655', `user_busy_sms`='2069', `user_congestion_sms`='512', `user_failed_sms`='2450', `user_hangup_sms`='0', `user_no_answer_sms`='3140', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78879 LIMIT 1 


Time Diff : 0.03

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.61019 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.94276 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17019

user answer per : 177
below is the redis data 16842 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16842 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.23497 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78885
    [compaign_id] => 78885
    [1] => u29676
    [user_id] => u29676
    [2] => 66456,
    [group_ids] => 66456,
    [3] => 
    [sender_id] => 
    [4] => Kailash_bobde_ward1mp3.mp3
    [filename] => Kailash_bobde_ward1mp3.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502330
    [start_date] => 1764502330
    [9] => 0
    [end_date] => 0
    [10] => 433
    [total_sms] => 433
    [11] => 433
    [sent_sms] => 433
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 50
    [failed_sms] => 50
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 99
    [cutting_sms] => 99
    [22] => 172
    [dnd_sms] => 172
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 50
    [user_failed_sms] => 50
    [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] => 172
    [user_dnd_sms] => 172
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502330
    [create_date] => 1764502330
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502337,"compaign_read_start_time":1764502340,"compaign_read_complete_time":1764502340,"compaign_send_start_time":1764502382,"compaign_send_complete_time":1764502383}
    [action_time] => {"api_allot_time":1764502337,"compaign_read_start_time":1764502340,"compaign_read_complete_time":1764502340,"compaign_send_start_time":1764502382,"compaign_send_complete_time":1764502383}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78885_30112025_050216PM_493
    [common_name] => u29676_78885_30112025_050216PM_493
    [52] => 1764489629_u29676_voice.wav
    [voice_file] => 1764489629_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66456
    [temp_group_table] => contacts_temp_group_66456
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502621
    [last_credit_update_time] => 1764502621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78885
\compaign_type : Rans per 29.8726 
ans sms 433
dnd sms 172

require answer perrequire answer per : 78

user answer per : 20
below is the redis data 58 UPDATE voice_compaign_detail_78885 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 58 Total Failed : 41 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_78885 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_78885 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_78885 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_78885 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`='78', `user_busy_sms`='53', `user_congestion_sms`='5', `user_failed_sms`='61', `user_hangup_sms`='0', `user_no_answer_sms`='64', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='172' WHERE `compaign_id`=78885 LIMIT 1 


Time Diff : 0.492

Array
(
    [0] => 78886
    [compaign_id] => 78886
    [1] => u29676
    [user_id] => u29676
    [2] => 66453,
    [group_ids] => 66453,
    [3] => 
    [sender_id] => 
    [4] => manisha_ghawane_ward14.mp3
    [filename] => manisha_ghawane_ward14.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502331
    [start_date] => 1764502331
    [9] => 0
    [end_date] => 0
    [10] => 921
    [total_sms] => 921
    [11] => 921
    [sent_sms] => 921
    [12] => 0
    [duplicate_sms] => 0
    [13] => 77
    [answered_sms] => 77
    [14] => 65
    [busy_sms] => 65
    [15] => 1
    [congestion_sms] => 1
    [16] => 125
    [failed_sms] => 125
    [17] => 0
    [hangup_sms] => 0
    [18] => 114
    [no_answer_sms] => 114
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 346
    [cutting_sms] => 346
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 77
    [user_answered_sms] => 77
    [27] => 65
    [user_busy_sms] => 65
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 125
    [user_failed_sms] => 125
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 114
    [user_no_answer_sms] => 114
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502331
    [create_date] => 1764502331
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502337,"compaign_read_start_time":1764502343,"compaign_read_complete_time":1764502344,"compaign_send_start_time":1764502382,"compaign_send_complete_time":1764502384}
    [action_time] => {"api_allot_time":1764502337,"compaign_read_start_time":1764502343,"compaign_read_complete_time":1764502344,"compaign_send_start_time":1764502382,"compaign_send_complete_time":1764502384}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78886_30112025_050216PM_792
    [common_name] => u29676_78886_30112025_050216PM_792
    [52] => 1764487691_u29676_voice.wav
    [voice_file] => 1764487691_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66453
    [temp_group_table] => contacts_temp_group_66453
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502621
    [last_credit_update_time] => 1764502621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78886
\compaign_type : Rans per 25.57008 
ans sms 921
dnd sms 193

require answer perrequire answer per : 187

user answer per : 77
below is the redis data 110 UPDATE voice_compaign_detail_78886 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 110 Total Failed : 236 no_answer_count : 79 Busy count :61 congestion_count : 29 failed_count : 67UPDATE voice_compaign_detail_78886 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_78886 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_78886 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78886 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='187', `user_busy_sms`='126', `user_congestion_sms`='30', `user_failed_sms`='192', `user_hangup_sms`='0', `user_no_answer_sms`='193', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78886 LIMIT 1 


Time Diff : 0.231

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.75081 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.60687 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14084

user answer per : 177
below is the redis data 13907 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13907 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.27023 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.04761 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.66124 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14114

user answer per : 177
below is the redis data 13937 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13937 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.82853 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78887
    [compaign_id] => 78887
    [1] => u29676
    [user_id] => u29676
    [2] => 66455,
    [group_ids] => 66455,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502363
    [start_date] => 1764502363
    [9] => 0
    [end_date] => 0
    [10] => 3507
    [total_sms] => 3507
    [11] => 3507
    [sent_sms] => 3507
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 192
    [busy_sms] => 192
    [15] => 0
    [congestion_sms] => 0
    [16] => 354
    [failed_sms] => 354
    [17] => 0
    [hangup_sms] => 0
    [18] => 176
    [no_answer_sms] => 176
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 774
    [cutting_sms] => 774
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 192
    [user_busy_sms] => 192
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 354
    [user_failed_sms] => 354
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 176
    [user_no_answer_sms] => 176
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502363
    [create_date] => 1764502363
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502370,"compaign_read_start_time":1764502382,"compaign_read_complete_time":1764502388,"compaign_send_start_time":1764502441,"compaign_send_complete_time":1764502446}
    [action_time] => {"api_allot_time":1764502370,"compaign_read_start_time":1764502382,"compaign_read_complete_time":1764502388,"compaign_send_start_time":1764502441,"compaign_send_complete_time":1764502446}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78887_30112025_050248PM_254
    [common_name] => u29676_78887_30112025_050248PM_254
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66455
    [temp_group_table] => contacts_temp_group_66455
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502681
    [last_credit_update_time] => 1764502681
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78887
\compaign_type : Rans per 30.66437 
ans sms 3507
dnd sms 1946

require answer perrequire answer per : 479

user answer per : 65
below is the redis data 414 UPDATE voice_compaign_detail_78887 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 414 Total Failed : 360 no_answer_count : 121 Busy count :93 congestion_count : 43 failed_count : 103UPDATE voice_compaign_detail_78887 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_78887 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_78887 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_78887 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='479', `user_busy_sms`='285', `user_congestion_sms`='43', `user_failed_sms`='457', `user_hangup_sms`='0', `user_no_answer_sms`='297', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78887 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>'1764243602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.45291 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.41174 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15077

user answer per : 177
below is the redis data 14900 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14900 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 123
    [credit_seq] => 123
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502563
    [last_credit_update_time] => 1764502563
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.31459 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78888
    [compaign_id] => 78888
    [1] => u29676
    [user_id] => u29676
    [2] => 66457,
    [group_ids] => 66457,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502370
    [start_date] => 1764502370
    [9] => 0
    [end_date] => 0
    [10] => 4104
    [total_sms] => 4104
    [11] => 4104
    [sent_sms] => 4104
    [12] => 0
    [duplicate_sms] => 0
    [13] => 105
    [answered_sms] => 105
    [14] => 268
    [busy_sms] => 268
    [15] => 0
    [congestion_sms] => 0
    [16] => 449
    [failed_sms] => 449
    [17] => 0
    [hangup_sms] => 0
    [18] => 264
    [no_answer_sms] => 264
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1072
    [cutting_sms] => 1072
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 105
    [user_answered_sms] => 105
    [27] => 268
    [user_busy_sms] => 268
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 449
    [user_failed_sms] => 449
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 264
    [user_no_answer_sms] => 264
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502370
    [create_date] => 1764502370
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502512,"compaign_read_start_time":1764502514,"compaign_read_complete_time":1764502521,"compaign_send_start_time":1764502562,"compaign_send_complete_time":1764502577}
    [action_time] => {"api_allot_time":1764502512,"compaign_read_start_time":1764502514,"compaign_read_complete_time":1764502521,"compaign_send_start_time":1764502562,"compaign_send_complete_time":1764502577}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78888_30112025_050302PM_802
    [common_name] => u29676_78888_30112025_050302PM_802
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66457
    [temp_group_table] => contacts_temp_group_66457
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502742
    [last_credit_update_time] => 1764502742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78888
\compaign_type : Rans per 26.75491 
ans sms 4104
dnd sms 1946

require answer perrequire answer per : 578

user answer per : 105
below is the redis data 473 UPDATE voice_compaign_detail_78888 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 473 Total Failed : 599 no_answer_count : 200 Busy count :154 congestion_count : 72 failed_count : 173UPDATE voice_compaign_detail_78888 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 200 UPDATE voice_compaign_detail_78888 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 UPDATE voice_compaign_detail_78888 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_78888 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 173 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='578', `user_busy_sms`='422', `user_congestion_sms`='72', `user_failed_sms`='622', `user_hangup_sms`='0', `user_no_answer_sms`='464', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78888 LIMIT 1 


Time Diff : 0.052

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243661'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.37809 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.74155 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14708

user answer per : 177
below is the redis data 14531 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14531 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.5173 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.72669 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.25884 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15543

user answer per : 177
below is the redis data 15366 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15366 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.87267 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.89141 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.80341 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15842

user answer per : 177
below is the redis data 15665 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15665 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.55163 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.9476 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.17293 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14946

user answer per : 177
below is the redis data 14769 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14769 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 124
    [credit_seq] => 124
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764502803
    [last_credit_update_time] => 1764502803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.77847 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.5586 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.09752 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14354

user answer per : 177
below is the redis data 14177 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14177 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.82201 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764243961'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.44056 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.2911 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16661

user answer per : 177
below is the redis data 16484 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16484 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.17522 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.8277 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.52254 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15688

user answer per : 177
below is the redis data 15511 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15511 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.65446 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.46953 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.25098 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15539

user answer per : 177
below is the redis data 15362 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15362 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 125
    [credit_seq] => 125
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503043
    [last_credit_update_time] => 1764503043
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.64724 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08491 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.76204 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14720

user answer per : 177
below is the redis data 14543 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14543 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.36987 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244202'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.98458 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.49157 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14021

user answer per : 177
below is the redis data 13844 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13844 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.96923 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.3244 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.34609 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15591

user answer per : 177
below is the redis data 15414 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15414 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.80482 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78892
    [compaign_id] => 78892
    [1] => u29684
    [user_id] => u29684
    [2] => 66463,
    [group_ids] => 66463,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502965
    [start_date] => 1764502965
    [9] => 0
    [end_date] => 0
    [10] => 6981
    [total_sms] => 6981
    [11] => 6981
    [sent_sms] => 6981
    [12] => 0
    [duplicate_sms] => 0
    [13] => 423
    [answered_sms] => 423
    [14] => 391
    [busy_sms] => 391
    [15] => 6
    [congestion_sms] => 6
    [16] => 1690
    [failed_sms] => 1690
    [17] => 0
    [hangup_sms] => 0
    [18] => 578
    [no_answer_sms] => 578
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3374
    [cutting_sms] => 3374
    [22] => 519
    [dnd_sms] => 519
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 423
    [user_answered_sms] => 423
    [27] => 391
    [user_busy_sms] => 391
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 1690
    [user_failed_sms] => 1690
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 578
    [user_no_answer_sms] => 578
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 519
    [user_dnd_sms] => 519
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502965
    [create_date] => 1764502965
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502971,"compaign_read_start_time":1764502982,"compaign_read_complete_time":1764502992,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503066}
    [action_time] => {"api_allot_time":1764502971,"compaign_read_start_time":1764502982,"compaign_read_complete_time":1764502992,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503066}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78892_30112025_051250PM_100
    [common_name] => u29684_78892_30112025_051250PM_100
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66463
    [temp_group_table] => contacts_temp_group_66463
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764503461
    [last_credit_update_time] => 1764503461
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78892
\compaign_type : Rans per 28.68675 
ans sms 6981
dnd sms 519

require answer perrequire answer per : 1854

user answer per : 423
below is the redis data 1431 UPDATE voice_compaign_detail_78892 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1431 Total Failed : 1946 no_answer_count : 649 Busy count :500 congestion_count : 231 failed_count : 566UPDATE voice_compaign_detail_78892 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 649 UPDATE voice_compaign_detail_78892 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 500 UPDATE voice_compaign_detail_78892 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 231 UPDATE voice_compaign_detail_78892 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 566 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1854', `user_busy_sms`='891', `user_congestion_sms`='234', `user_failed_sms`='2256', `user_hangup_sms`='0', `user_no_answer_sms`='1227', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='519' WHERE `compaign_id`=78892 LIMIT 1 


Time Diff : 0.052

Array
(
    [0] => 78893
    [compaign_id] => 78893
    [1] => u29684
    [user_id] => u29684
    [2] => 66461,
    [group_ids] => 66461,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502968
    [start_date] => 1764502968
    [9] => 0
    [end_date] => 0
    [10] => 7569
    [total_sms] => 7569
    [11] => 7569
    [sent_sms] => 7569
    [12] => 0
    [duplicate_sms] => 0
    [13] => 502
    [answered_sms] => 502
    [14] => 1178
    [busy_sms] => 1178
    [15] => 8
    [congestion_sms] => 8
    [16] => 856
    [failed_sms] => 856
    [17] => 0
    [hangup_sms] => 0
    [18] => 534
    [no_answer_sms] => 534
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3113
    [cutting_sms] => 3113
    [22] => 1378
    [dnd_sms] => 1378
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 502
    [user_answered_sms] => 502
    [27] => 1178
    [user_busy_sms] => 1178
    [28] => 8
    [user_congestion_sms] => 8
    [29] => 856
    [user_failed_sms] => 856
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 534
    [user_no_answer_sms] => 534
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1378
    [user_dnd_sms] => 1378
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502968
    [create_date] => 1764502968
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502984,"compaign_read_start_time":1764502985,"compaign_read_complete_time":1764502999,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503067}
    [action_time] => {"api_allot_time":1764502984,"compaign_read_start_time":1764502985,"compaign_read_complete_time":1764502999,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503067}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78893_30112025_051302PM_838
    [common_name] => u29684_78893_30112025_051302PM_838
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66461
    [temp_group_table] => contacts_temp_group_66461
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764503461
    [last_credit_update_time] => 1764503461
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78893
\compaign_type : Rans per 27.01769 
ans sms 7569
dnd sms 1378

require answer perrequire answer per : 1673

user answer per : 502
below is the redis data 1171 UPDATE voice_compaign_detail_78893 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1171 Total Failed : 1945 no_answer_count : 649 Busy count :500 congestion_count : 231 failed_count : 565UPDATE voice_compaign_detail_78893 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 649 UPDATE voice_compaign_detail_78893 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 500 UPDATE voice_compaign_detail_78893 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 231 UPDATE voice_compaign_detail_78893 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 565 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1673', `user_busy_sms`='1678', `user_congestion_sms`='236', `user_failed_sms`='1421', `user_hangup_sms`='0', `user_no_answer_sms`='1183', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1378' WHERE `compaign_id`=78893 LIMIT 1 


Time Diff : 0.048

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.71108 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.0379 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15421

user answer per : 177
below is the redis data 15244 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15244 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 126
    [credit_seq] => 126
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503283
    [last_credit_update_time] => 1764503283
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.76436 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.98336 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.24573 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15536

user answer per : 177
below is the redis data 15359 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15359 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.69436 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.61646 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.10852 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14910

user answer per : 177
below is the redis data 14733 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14733 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.95207 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244502'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.86714 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.06239 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13785

user answer per : 177
below is the redis data 13608 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13608 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.3988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78894
    [compaign_id] => 78894
    [1] => u29684
    [user_id] => u29684
    [2] => 66468,
    [group_ids] => 66468,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502969
    [start_date] => 1764502969
    [9] => 0
    [end_date] => 0
    [10] => 7657
    [total_sms] => 7657
    [11] => 7657
    [sent_sms] => 7657
    [12] => 0
    [duplicate_sms] => 0
    [13] => 571
    [answered_sms] => 571
    [14] => 914
    [busy_sms] => 914
    [15] => 14
    [congestion_sms] => 14
    [16] => 658
    [failed_sms] => 658
    [17] => 0
    [hangup_sms] => 0
    [18] => 599
    [no_answer_sms] => 599
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2896
    [cutting_sms] => 2896
    [22] => 2005
    [dnd_sms] => 2005
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 571
    [user_answered_sms] => 571
    [27] => 914
    [user_busy_sms] => 914
    [28] => 14
    [user_congestion_sms] => 14
    [29] => 658
    [user_failed_sms] => 658
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 599
    [user_no_answer_sms] => 599
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2005
    [user_dnd_sms] => 2005
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502969
    [create_date] => 1764502969
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764503112,"compaign_read_start_time":1764503113,"compaign_read_complete_time":1764503130,"compaign_send_start_time":1764503162,"compaign_send_complete_time":1764503184}
    [action_time] => {"api_allot_time":1764503112,"compaign_read_start_time":1764503113,"compaign_read_complete_time":1764503130,"compaign_send_start_time":1764503162,"compaign_send_complete_time":1764503184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78894_30112025_051302PM_369
    [common_name] => u29684_78894_30112025_051302PM_369
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66468
    [temp_group_table] => contacts_temp_group_66468
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764503641
    [last_credit_update_time] => 1764503641
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78894
\compaign_type : Rans per 25.51633 
ans sms 7657
dnd sms 2005

require answer perrequire answer per : 1443

user answer per : 571
below is the redis data 872 UPDATE voice_compaign_detail_78894 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 872 Total Failed : 2027 no_answer_count : 676 Busy count :521 congestion_count : 241 failed_count : 589UPDATE voice_compaign_detail_78894 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 676 UPDATE voice_compaign_detail_78894 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 521 UPDATE voice_compaign_detail_78894 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 241 UPDATE voice_compaign_detail_78894 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 589 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1443', `user_busy_sms`='1435', `user_congestion_sms`='252', `user_failed_sms`='1247', `user_hangup_sms`='0', `user_no_answer_sms`='1275', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2005' WHERE `compaign_id`=78894 LIMIT 1 


Time Diff : 0.032

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.08915 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.52645 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15140

user answer per : 177
below is the redis data 14963 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14963 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 127
    [credit_seq] => 127
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503523
    [last_credit_update_time] => 1764503523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.27774 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78895
    [compaign_id] => 78895
    [1] => u29690
    [user_id] => u29690
    [2] => 66467,
    [group_ids] => 66467,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502982
    [start_date] => 1764502982
    [9] => 0
    [end_date] => 0
    [10] => 9834
    [total_sms] => 9834
    [11] => 9834
    [sent_sms] => 9834
    [12] => 0
    [duplicate_sms] => 0
    [13] => 952
    [answered_sms] => 952
    [14] => 744
    [busy_sms] => 744
    [15] => 11
    [congestion_sms] => 11
    [16] => 1100
    [failed_sms] => 1100
    [17] => 0
    [hangup_sms] => 0
    [18] => 1164
    [no_answer_sms] => 1164
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4200
    [cutting_sms] => 4200
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 952
    [user_answered_sms] => 952
    [27] => 744
    [user_busy_sms] => 744
    [28] => 11
    [user_congestion_sms] => 11
    [29] => 1100
    [user_failed_sms] => 1100
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1164
    [user_no_answer_sms] => 1164
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502982
    [create_date] => 1764502982
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764502990,"compaign_read_start_time":1764502991,"compaign_read_complete_time":1764503014,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503072}
    [action_time] => {"api_allot_time":1764502990,"compaign_read_start_time":1764502991,"compaign_read_complete_time":1764503014,"compaign_send_start_time":1764503041,"compaign_send_complete_time":1764503072}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78895_30112025_051308PM_943
    [common_name] => u29690_78895_30112025_051308PM_943
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66467
    [temp_group_table] => contacts_temp_group_66467
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764503702
    [last_credit_update_time] => 1764503702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78895
\compaign_type : Rans per 28.75402 
ans sms 9834
dnd sms 1663

require answer perrequire answer per : 2350

user answer per : 952
below is the redis data 1398 UPDATE voice_compaign_detail_78895 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1398 Total Failed : 2805 no_answer_count : 936 Busy count :720 congestion_count : 333 failed_count : 816UPDATE voice_compaign_detail_78895 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 936 UPDATE voice_compaign_detail_78895 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 720 UPDATE voice_compaign_detail_78895 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 333 UPDATE voice_compaign_detail_78895 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 816 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2350', `user_busy_sms`='1464', `user_congestion_sms`='341', `user_failed_sms`='1916', `user_hangup_sms`='0', `user_no_answer_sms`='2100', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78895 LIMIT 1 


Time Diff : 0.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>'1764244621'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.26945 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.8468 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15866

user answer per : 177
below is the redis data 15689 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15689 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.54813 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78896
    [compaign_id] => 78896
    [1] => u29673
    [user_id] => u29673
    [2] => 66469,
    [group_ids] => 66469,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764503523
    [start_date] => 1764503523
    [9] => 0
    [end_date] => 0
    [10] => 239
    [total_sms] => 239
    [11] => 239
    [sent_sms] => 239
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1
    [cutting_sms] => 1
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 12
    [user_no_answer_sms] => 12
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764503523
    [create_date] => 1764503523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764503529,"compaign_read_start_time":1764503531,"compaign_read_complete_time":1764503532,"compaign_send_start_time":1764503581,"compaign_send_complete_time":1764503584}
    [action_time] => {"api_allot_time":1764503529,"compaign_read_start_time":1764503531,"compaign_read_complete_time":1764503532,"compaign_send_start_time":1764503581,"compaign_send_complete_time":1764503584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78896_30112025_052208PM_619
    [common_name] => u29673_78896_30112025_052208PM_619
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66469
    [temp_group_table] => contacts_temp_group_66469
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503762
    [last_credit_update_time] => 1764503762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78896
\compaign_type : Rans per 30.45588 
ans sms 239
dnd sms 185

require answer perrequire answer per : 17

user answer per : 1
below is the redis data 16 UPDATE voice_compaign_detail_78896 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2', `user_busy_sms`='25', `user_congestion_sms`='0', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78896 LIMIT 1 


Time Diff : 0.686

Array
(
    [0] => 78897
    [compaign_id] => 78897
    [1] => u29673
    [user_id] => u29673
    [2] => 66470,
    [group_ids] => 66470,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764503542
    [start_date] => 1764503542
    [9] => 0
    [end_date] => 0
    [10] => 640
    [total_sms] => 640
    [11] => 640
    [sent_sms] => 640
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 47
    [busy_sms] => 47
    [15] => 1
    [congestion_sms] => 1
    [16] => 82
    [failed_sms] => 82
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 193
    [cutting_sms] => 193
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 47
    [user_busy_sms] => 47
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 82
    [user_failed_sms] => 82
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 65
    [user_no_answer_sms] => 65
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764503542
    [create_date] => 1764503542
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764503549,"compaign_read_start_time":1764503552,"compaign_read_complete_time":1764503553,"compaign_send_start_time":1764503581,"compaign_send_complete_time":1764503585}
    [action_time] => {"api_allot_time":1764503549,"compaign_read_start_time":1764503552,"compaign_read_complete_time":1764503553,"compaign_send_start_time":1764503581,"compaign_send_complete_time":1764503585}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78897_30112025_052228PM_645
    [common_name] => u29673_78897_30112025_052228PM_645
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66470
    [temp_group_table] => contacts_temp_group_66470
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503762
    [last_credit_update_time] => 1764503762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78897
\compaign_type : Rans per 25.73302 
ans sms 640
dnd sms 185

require answer perrequire answer per : 118

user answer per : 67
below is the redis data 51 UPDATE voice_compaign_detail_78897 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 51 Total Failed : 142 no_answer_count : 48 Busy count :37 congestion_count : 17 failed_count : 40UPDATE voice_compaign_detail_78897 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_78897 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_78897 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_78897 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`='118', `user_busy_sms`='84', `user_congestion_sms`='18', `user_failed_sms`='122', `user_hangup_sms`='0', `user_no_answer_sms`='113', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78897 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>'1764244682'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.66522 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.91932 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17006

user answer per : 177
below is the redis data 16829 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16829 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.2878 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78891
    [compaign_id] => 78891
    [1] => u29684
    [user_id] => u29684
    [2] => 66462,
    [group_ids] => 66462,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764502961
    [start_date] => 1764502961
    [9] => 0
    [end_date] => 0
    [10] => 6222
    [total_sms] => 6222
    [11] => 6222
    [sent_sms] => 6222
    [12] => 0
    [duplicate_sms] => 0
    [13] => 438
    [answered_sms] => 438
    [14] => 928
    [busy_sms] => 928
    [15] => 4
    [congestion_sms] => 4
    [16] => 708
    [failed_sms] => 708
    [17] => 0
    [hangup_sms] => 0
    [18] => 436
    [no_answer_sms] => 436
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2516
    [cutting_sms] => 2516
    [22] => 1192
    [dnd_sms] => 1192
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 438
    [user_answered_sms] => 438
    [27] => 928
    [user_busy_sms] => 928
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 708
    [user_failed_sms] => 708
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 436
    [user_no_answer_sms] => 436
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1192
    [user_dnd_sms] => 1192
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764502961
    [create_date] => 1764502961
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764503097,"compaign_read_start_time":1764503101,"compaign_read_complete_time":1764503113,"compaign_send_start_time":1764503162,"compaign_send_complete_time":1764503234}
    [action_time] => {"api_allot_time":1764503097,"compaign_read_start_time":1764503101,"compaign_read_complete_time":1764503113,"compaign_send_start_time":1764503162,"compaign_send_complete_time":1764503234}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78891_30112025_051246PM_824
    [common_name] => u29684_78891_30112025_051246PM_824
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66462
    [temp_group_table] => contacts_temp_group_66462
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764503881
    [last_credit_update_time] => 1764503881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78891
\compaign_type : Rans per 28.5088 
ans sms 6222
dnd sms 1192

require answer perrequire answer per : 1434

user answer per : 438
below is the redis data 996 UPDATE voice_compaign_detail_78891 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 996 Total Failed : 1521 no_answer_count : 508 Busy count :391 congestion_count : 181 failed_count : 441UPDATE voice_compaign_detail_78891 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 508 UPDATE voice_compaign_detail_78891 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 391 UPDATE voice_compaign_detail_78891 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 181 UPDATE voice_compaign_detail_78891 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 441 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1434', `user_busy_sms`='1319', `user_congestion_sms`='184', `user_failed_sms`='1149', `user_hangup_sms`='0', `user_no_answer_sms`='944', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1192' WHERE `compaign_id`=78891 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>'1764244742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.99077 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.7153 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16344

user answer per : 177
below is the redis data 16167 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16167 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.39399 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.90753 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.21561 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14969

user answer per : 177
below is the redis data 14792 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14792 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 128
    [credit_seq] => 128
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764503763
    [last_credit_update_time] => 1764503763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.6189 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.46868 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.15396 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16585

user answer per : 177
below is the redis data 16408 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16408 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.76748 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.61635 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.32971 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13932

user answer per : 177
below is the redis data 13755 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13755 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.16934 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764244981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.10236 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.22029 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15522

user answer per : 177
below is the redis data 15345 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15345 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.54719 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245042'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.3951 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.26045 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15544

user answer per : 177
below is the redis data 15367 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15367 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 129
    [credit_seq] => 129
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504003
    [last_credit_update_time] => 1764504003
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.04684 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.98546 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504242
    [last_credit_update_time] => 1764504242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.32081 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15577

user answer per : 177
below is the redis data 15400 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15400 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504243
    [last_credit_update_time] => 1764504243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.31772 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.95765 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504242
    [last_credit_update_time] => 1764504242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48892 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14569

user answer per : 177
below is the redis data 14392 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14392 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504243
    [last_credit_update_time] => 1764504243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.37106 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.47103 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504242
    [last_credit_update_time] => 1764504242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.60844 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16285

user answer per : 177
below is the redis data 16108 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16108 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504243
    [last_credit_update_time] => 1764504243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.18551 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78902
    [compaign_id] => 78902
    [1] => u29673
    [user_id] => u29673
    [2] => 66473,
    [group_ids] => 66473,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504130
    [start_date] => 1764504130
    [9] => 0
    [end_date] => 0
    [10] => 237
    [total_sms] => 237
    [11] => 237
    [sent_sms] => 237
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1
    [cutting_sms] => 1
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504130
    [create_date] => 1764504130
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504137,"compaign_read_start_time":1764504140,"compaign_read_complete_time":1764504140,"compaign_send_start_time":1764504181,"compaign_send_complete_time":1764504182}
    [action_time] => {"api_allot_time":1764504137,"compaign_read_start_time":1764504140,"compaign_read_complete_time":1764504140,"compaign_send_start_time":1764504181,"compaign_send_complete_time":1764504182}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78902_30112025_053216PM_525
    [common_name] => u29673_78902_30112025_053216PM_525
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66473
    [temp_group_table] => contacts_temp_group_66473
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504362
    [last_credit_update_time] => 1764504362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78902
\compaign_type : Rans per 28.54405 
ans sms 237
dnd sms 185

require answer perrequire answer per : 15

user answer per : 4
below is the redis data 11 UPDATE voice_compaign_detail_78902 SET user_report='D' WHERE (api_id= -2 or 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`='5', `user_busy_sms`='20', `user_congestion_sms`='0', `user_failed_sms`='22', `user_hangup_sms`='0', `user_no_answer_sms`='5', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78902 LIMIT 1 


Time Diff : 0.886

Array
(
    [0] => 78903
    [compaign_id] => 78903
    [1] => u29673
    [user_id] => u29673
    [2] => 66474,
    [group_ids] => 66474,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504131
    [start_date] => 1764504131
    [9] => 0
    [end_date] => 0
    [10] => 522
    [total_sms] => 522
    [11] => 522
    [sent_sms] => 522
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 140
    [cutting_sms] => 140
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504131
    [create_date] => 1764504131
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504139,"compaign_read_start_time":1764504143,"compaign_read_complete_time":1764504144,"compaign_send_start_time":1764504181,"compaign_send_complete_time":1764504183}
    [action_time] => {"api_allot_time":1764504139,"compaign_read_start_time":1764504143,"compaign_read_complete_time":1764504144,"compaign_send_start_time":1764504181,"compaign_send_complete_time":1764504183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78903_30112025_053218PM_239
    [common_name] => u29673_78903_30112025_053218PM_239
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66474
    [temp_group_table] => contacts_temp_group_66474
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504362
    [last_credit_update_time] => 1764504362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78903
\compaign_type : Rans per 29.66051 
ans sms 522
dnd sms 185

require answer perrequire answer per : 100

user answer per : 41
below is the redis data 59 UPDATE voice_compaign_detail_78903 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 59 Total Failed : 81 no_answer_count : 28 Busy count :21 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_78903 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78903 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78903 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78903 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='100', `user_busy_sms`='67', `user_congestion_sms`='10', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='75', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78903 LIMIT 1 


Time Diff : 0.402

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245281'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.63561 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504242
    [last_credit_update_time] => 1764504242
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.3467 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16691

user answer per : 177
below is the redis data 16514 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16514 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 130
    [credit_seq] => 130
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504243
    [last_credit_update_time] => 1764504243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.77466 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.86825 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.26857 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16648

user answer per : 177
below is the redis data 16471 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16471 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.59799 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245401'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.14224 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.29058 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16660

user answer per : 177
below is the redis data 16483 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16483 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.28336 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.00038 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.43681 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15641

user answer per : 177
below is the redis data 15464 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15464 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.29138 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78904
    [compaign_id] => 78904
    [1] => u29690
    [user_id] => u29690
    [2] => 66475,
    [group_ids] => 66475,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504171
    [start_date] => 1764504171
    [9] => 0
    [end_date] => 0
    [10] => 7484
    [total_sms] => 7484
    [11] => 7484
    [sent_sms] => 7484
    [12] => 0
    [duplicate_sms] => 0
    [13] => 592
    [answered_sms] => 592
    [14] => 676
    [busy_sms] => 676
    [15] => 1
    [congestion_sms] => 1
    [16] => 921
    [failed_sms] => 921
    [17] => 0
    [hangup_sms] => 0
    [18] => 825
    [no_answer_sms] => 825
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2806
    [cutting_sms] => 2806
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 592
    [user_answered_sms] => 592
    [27] => 676
    [user_busy_sms] => 676
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 921
    [user_failed_sms] => 921
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 825
    [user_no_answer_sms] => 825
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504171
    [create_date] => 1764504171
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504311,"compaign_read_start_time":1764504313,"compaign_read_complete_time":1764504331,"compaign_send_start_time":1764504362,"compaign_send_complete_time":1764504383}
    [action_time] => {"api_allot_time":1764504311,"compaign_read_start_time":1764504313,"compaign_read_complete_time":1764504331,"compaign_send_start_time":1764504362,"compaign_send_complete_time":1764504383}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78904_30112025_053301PM_864
    [common_name] => u29690_78904_30112025_053301PM_864
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66475
    [temp_group_table] => contacts_temp_group_66475
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504601
    [last_credit_update_time] => 1764504601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78904
\compaign_type : Rans per 29.7296 
ans sms 7484
dnd sms 1663

require answer perrequire answer per : 1731

user answer per : 592
below is the redis data 1139 UPDATE voice_compaign_detail_78904 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1139 Total Failed : 1667 no_answer_count : 556 Busy count :428 congestion_count : 198 failed_count : 485UPDATE voice_compaign_detail_78904 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 556 UPDATE voice_compaign_detail_78904 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 428 UPDATE voice_compaign_detail_78904 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 198 UPDATE voice_compaign_detail_78904 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`='1731', `user_busy_sms`='1104', `user_congestion_sms`='199', `user_failed_sms`='1406', `user_hangup_sms`='0', `user_no_answer_sms`='1381', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78904 LIMIT 1 


Time Diff : 0.037

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.64168 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.86353 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16425

user answer per : 177
below is the redis data 16248 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16248 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 131
    [credit_seq] => 131
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504482
    [last_credit_update_time] => 1764504482
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.69352 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.41425 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.49156 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15671

user answer per : 177
below is the redis data 15494 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15494 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.79766 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245643'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.81181 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.04274 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14324

user answer per : 177
below is the redis data 14147 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14147 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.02835 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245701'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.02633 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.47765 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16213

user answer per : 177
below is the redis data 16036 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16036 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07399 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245762'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.22487 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.43283 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13989

user answer per : 177
below is the redis data 13812 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13812 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 132
    [credit_seq] => 132
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504723
    [last_credit_update_time] => 1764504723
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.64004 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245822'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.5993 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.82961 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16407

user answer per : 177
below is the redis data 16230 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16230 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.17365 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.30129 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.68523 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14127

user answer per : 177
below is the redis data 13950 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13950 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.34928 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78912
    [compaign_id] => 78912
    [1] => u29673
    [user_id] => u29673
    [2] => 66482,
    [group_ids] => 66482,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504724
    [start_date] => 1764504724
    [9] => 0
    [end_date] => 0
    [10] => 422
    [total_sms] => 422
    [11] => 422
    [sent_sms] => 422
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 40
    [failed_sms] => 40
    [17] => 0
    [hangup_sms] => 0
    [18] => 40
    [no_answer_sms] => 40
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 97
    [cutting_sms] => 97
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 40
    [user_failed_sms] => 40
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504724
    [create_date] => 1764504724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504732,"compaign_read_start_time":1764504734,"compaign_read_complete_time":1764504734,"compaign_send_start_time":1764504782,"compaign_send_complete_time":1764504783}
    [action_time] => {"api_allot_time":1764504732,"compaign_read_start_time":1764504734,"compaign_read_complete_time":1764504734,"compaign_send_start_time":1764504782,"compaign_send_complete_time":1764504783}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78912_30112025_054210PM_259
    [common_name] => u29673_78912_30112025_054210PM_259
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66482
    [temp_group_table] => contacts_temp_group_66482
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505022
    [last_credit_update_time] => 1764505022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78912
\compaign_type : Rans per 28.85955 
ans sms 422
dnd sms 185

require answer perrequire answer per : 69

user answer per : 23
below is the redis data 46 UPDATE voice_compaign_detail_78912 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 46 Total Failed : 51 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 12UPDATE voice_compaign_detail_78912 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78912 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_78912 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78912 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='69', `user_busy_sms`='51', `user_congestion_sms`='7', `user_failed_sms`='52', `user_hangup_sms`='0', `user_no_answer_sms`='58', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78912 LIMIT 1 


Time Diff : 0.652

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764245942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.28031 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.43037 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13987

user answer per : 177
below is the redis data 13810 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13810 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.12135 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78913
    [compaign_id] => 78913
    [1] => u7434
    [user_id] => u7434
    [2] => 66484,
    [group_ids] => 66484,
    [3] => 
    [sender_id] => 
    [4] => 03_PaytalTajne.mp3
    [filename] => 03_PaytalTajne.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504799
    [start_date] => 1764504799
    [9] => 0
    [end_date] => 0
    [10] => 1766
    [total_sms] => 1766
    [11] => 1766
    [sent_sms] => 1766
    [12] => 0
    [duplicate_sms] => 0
    [13] => 152
    [answered_sms] => 152
    [14] => 111
    [busy_sms] => 111
    [15] => 0
    [congestion_sms] => 0
    [16] => 205
    [failed_sms] => 205
    [17] => 0
    [hangup_sms] => 0
    [18] => 204
    [no_answer_sms] => 204
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 569
    [cutting_sms] => 569
    [22] => 525
    [dnd_sms] => 525
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 152
    [user_answered_sms] => 152
    [27] => 111
    [user_busy_sms] => 111
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 205
    [user_failed_sms] => 205
    [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] => 525
    [user_dnd_sms] => 525
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u7434
    [created_by] => u7434
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504798
    [create_date] => 1764504798
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504813,"compaign_read_start_time":1764504814,"compaign_read_complete_time":1764504818,"compaign_send_start_time":1764504844,"compaign_send_complete_time":1764504851}
    [action_time] => {"api_allot_time":1764504813,"compaign_read_start_time":1764504814,"compaign_read_complete_time":1764504818,"compaign_send_start_time":1764504844,"compaign_send_complete_time":1764504851}
    [50] => 0
    [compaign_file] => 0
    [51] => u7434_78913_30112025_054331PM_968
    [common_name] => u7434_78913_30112025_054331PM_968
    [52] => 1764504008_u7434_voice.wav
    [voice_file] => 1764504008_u7434_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66484
    [temp_group_table] => contacts_temp_group_66484
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764504905
    [reschedule_last_check_time] => 1764504905
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505081
    [last_credit_update_time] => 1764505081
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1577
    [user_voice_plan_id] => 1577
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764505800}
    [rt_time] => {"1":1764505800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r118,u7434
    [uphierarchy] => admin,sr173,r118,u7434
    [113] => 
    [extra_params_json] => 
)


Compaign : 78913
\compaign_type : Rans per 28.13939 
ans sms 1766
dnd sms 525

require answer perrequire answer per : 350

user answer per : 152
below is the redis data 198 UPDATE voice_compaign_detail_78913 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 198 Total Failed : 371 no_answer_count : 124 Busy count :96 congestion_count : 45 failed_count : 106UPDATE voice_compaign_detail_78913 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_78913 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_78913 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_78913 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='350', `user_busy_sms`='207', `user_congestion_sms`='45', `user_failed_sms`='311', `user_hangup_sms`='0', `user_no_answer_sms`='328', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='525' WHERE `compaign_id`=78913 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>'1764246001'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.99412 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.93442 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14814

user answer per : 177
below is the redis data 14637 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14637 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 133
    [credit_seq] => 133
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764504969
    [last_credit_update_time] => 1764504969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.9685 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78911
    [compaign_id] => 78911
    [1] => u29673
    [user_id] => u29673
    [2] => 66483,
    [group_ids] => 66483,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764504723
    [start_date] => 1764504723
    [9] => 0
    [end_date] => 0
    [10] => 232
    [total_sms] => 232
    [11] => 232
    [sent_sms] => 232
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 6
    [no_answer_sms] => 6
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1
    [cutting_sms] => 1
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764504723
    [create_date] => 1764504723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764504858,"compaign_read_start_time":1764504861,"compaign_read_complete_time":1764504862,"compaign_send_start_time":1764504901,"compaign_send_complete_time":1764504907}
    [action_time] => {"api_allot_time":1764504858,"compaign_read_start_time":1764504861,"compaign_read_complete_time":1764504862,"compaign_send_start_time":1764504901,"compaign_send_complete_time":1764504907}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78911_30112025_054208PM_603
    [common_name] => u29673_78911_30112025_054208PM_603
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66483
    [temp_group_table] => contacts_temp_group_66483
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505142
    [last_credit_update_time] => 1764505142
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78911
\compaign_type : Rans per 26.67467 
ans sms 232
dnd sms 185

require answer perrequire answer per : 13

user answer per : 0
below is the redis data 13 UPDATE voice_compaign_detail_78911 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='22', `user_congestion_sms`='0', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='6', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78911 LIMIT 1 


Time Diff : 1.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>'1764246061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.34186 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.78242 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16931

user answer per : 177
below is the redis data 16754 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16754 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 19865
    [total_sms] => 19865
    [11] => 19865
    [sent_sms] => 19865
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 7436
    [busy_sms] => 7436
    [15] => 14
    [congestion_sms] => 14
    [16] => 11628
    [failed_sms] => 11628
    [17] => 0
    [hangup_sms] => 0
    [18] => 756
    [no_answer_sms] => 756
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 7436
    [user_busy_sms] => 7436
    [28] => 14
    [user_congestion_sms] => 14
    [29] => 11628
    [user_failed_sms] => 11628
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 756
    [user_no_answer_sms] => 756
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.83923 
ans sms 19865
dnd sms 0

require answer perrequire answer per : 5729

user answer per : 31
below is the redis data 5698 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5698 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='45', `user_busy_sms`='7436', `user_congestion_sms`='0', `user_failed_sms`='11628', `user_hangup_sms`='0', `user_no_answer_sms`='756', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.54272 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.86901 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.98698 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16493

user answer per : 177
below is the redis data 16316 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16316 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.88661 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78917
    [compaign_id] => 78917
    [1] => u29676
    [user_id] => u29676
    [2] => 66490,
    [group_ids] => 66490,
    [3] => 
    [sender_id] => 
    [4] => manisha_ghawane_ward14.mp3
    [filename] => manisha_ghawane_ward14.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505034
    [start_date] => 1764505034
    [9] => 0
    [end_date] => 0
    [10] => 734
    [total_sms] => 734
    [11] => 734
    [sent_sms] => 734
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 61
    [busy_sms] => 61
    [15] => 0
    [congestion_sms] => 0
    [16] => 104
    [failed_sms] => 104
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 248
    [cutting_sms] => 248
    [22] => 193
    [dnd_sms] => 193
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 61
    [user_busy_sms] => 61
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 104
    [user_failed_sms] => 104
    [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] => 193
    [user_dnd_sms] => 193
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505034
    [create_date] => 1764505034
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505041,"compaign_read_start_time":1764505043,"compaign_read_complete_time":1764505045,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505083}
    [action_time] => {"api_allot_time":1764505041,"compaign_read_start_time":1764505043,"compaign_read_complete_time":1764505045,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505083}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78917_30112025_054720PM_286
    [common_name] => u29676_78917_30112025_054720PM_286
    [52] => 1764487691_u29676_voice.wav
    [voice_file] => 1764487691_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66490
    [temp_group_table] => contacts_temp_group_66490
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505321
    [last_credit_update_time] => 1764505321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78917
\compaign_type : Rans per 30.66127 
ans sms 734
dnd sms 193

require answer perrequire answer per : 166

user answer per : 57
below is the redis data 109 UPDATE voice_compaign_detail_78917 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 109 Total Failed : 139 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 39UPDATE voice_compaign_detail_78917 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_78917 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_78917 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_78917 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`='166', `user_busy_sms`='97', `user_congestion_sms`='17', `user_failed_sms`='143', `user_hangup_sms`='0', `user_no_answer_sms`='118', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='193' WHERE `compaign_id`=78917 LIMIT 1 


Time Diff : 0.293

Array
(
    [0] => 78919
    [compaign_id] => 78919
    [1] => u29690
    [user_id] => u29690
    [2] => 66489,
    [group_ids] => 66489,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505055
    [start_date] => 1764505055
    [9] => 0
    [end_date] => 0
    [10] => 5753
    [total_sms] => 5753
    [11] => 5753
    [sent_sms] => 5753
    [12] => 0
    [duplicate_sms] => 0
    [13] => 302
    [answered_sms] => 302
    [14] => 509
    [busy_sms] => 509
    [15] => 1
    [congestion_sms] => 1
    [16] => 690
    [failed_sms] => 690
    [17] => 0
    [hangup_sms] => 0
    [18] => 548
    [no_answer_sms] => 548
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2040
    [cutting_sms] => 2040
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 302
    [user_answered_sms] => 302
    [27] => 509
    [user_busy_sms] => 509
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 690
    [user_failed_sms] => 690
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 548
    [user_no_answer_sms] => 548
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505055
    [create_date] => 1764505055
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505064,"compaign_read_start_time":1764505064,"compaign_read_complete_time":1764505078,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505103}
    [action_time] => {"api_allot_time":1764505064,"compaign_read_start_time":1764505064,"compaign_read_complete_time":1764505078,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505103}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78919_30112025_054741PM_767
    [common_name] => u29690_78919_30112025_054741PM_767
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66489
    [temp_group_table] => contacts_temp_group_66489
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505321
    [last_credit_update_time] => 1764505321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78919
\compaign_type : Rans per 30.60059 
ans sms 5753
dnd sms 1663

require answer perrequire answer per : 1252

user answer per : 302
below is the redis data 950 UPDATE voice_compaign_detail_78919 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 950 Total Failed : 1090 no_answer_count : 364 Busy count :280 congestion_count : 130 failed_count : 316UPDATE voice_compaign_detail_78919 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 364 UPDATE voice_compaign_detail_78919 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 280 UPDATE voice_compaign_detail_78919 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_78919 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 316 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1252', `user_busy_sms`='789', `user_congestion_sms`='131', `user_failed_sms`='1006', `user_hangup_sms`='0', `user_no_answer_sms`='912', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78919 LIMIT 1 


Time Diff : 0.037

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246182'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.9804 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.14082 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14928

user answer per : 177
below is the redis data 14751 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14751 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.49915 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.71801 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.71522 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14144

user answer per : 177
below is the redis data 13967 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13967 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 134
    [credit_seq] => 134
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505206
    [last_credit_update_time] => 1764505206
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.59756 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.29995 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.11227 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13812

user answer per : 177
below is the redis data 13635 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13635 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.37642 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.74245 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.6243 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14094

user answer per : 177
below is the redis data 13917 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13917 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.6623 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78918
    [compaign_id] => 78918
    [1] => u29676
    [user_id] => u29676
    [2] => 66491,
    [group_ids] => 66491,
    [3] => 
    [sender_id] => 
    [4] => wanipayal.mp3
    [filename] => wanipayal.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505052
    [start_date] => 1764505052
    [9] => 0
    [end_date] => 0
    [10] => 3526
    [total_sms] => 3526
    [11] => 3526
    [sent_sms] => 3526
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 198
    [busy_sms] => 198
    [15] => 2
    [congestion_sms] => 2
    [16] => 341
    [failed_sms] => 341
    [17] => 0
    [hangup_sms] => 0
    [18] => 192
    [no_answer_sms] => 192
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 781
    [cutting_sms] => 781
    [22] => 1946
    [dnd_sms] => 1946
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 198
    [user_busy_sms] => 198
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 341
    [user_failed_sms] => 341
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 192
    [user_no_answer_sms] => 192
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1946
    [user_dnd_sms] => 1946
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29676
    [created_by] => u29676
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505052
    [create_date] => 1764505052
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505059,"compaign_read_start_time":1764505061,"compaign_read_complete_time":1764505069,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505086}
    [action_time] => {"api_allot_time":1764505059,"compaign_read_start_time":1764505061,"compaign_read_complete_time":1764505069,"compaign_send_start_time":1764505082,"compaign_send_complete_time":1764505086}
    [50] => 0
    [compaign_file] => 0
    [51] => u29676_78918_30112025_054738PM_804
    [common_name] => u29676_78918_30112025_054738PM_804
    [52] => 1764312831_u29676_voice.wav
    [voice_file] => 1764312831_u29676_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66491
    [temp_group_table] => contacts_temp_group_66491
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764505502
    [last_credit_update_time] => 1764505502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1882
    [user_voice_plan_id] => 1882
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr52,u29676
    [uphierarchy] => admin,sr52,u29676
    [113] => 
    [extra_params_json] => 
)


Compaign : 78918
\compaign_type : Rans per 25.17158 
ans sms 3526
dnd sms 1946

require answer perrequire answer per : 398

user answer per : 66
below is the redis data 332 UPDATE voice_compaign_detail_78918 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 332 Total Failed : 449 no_answer_count : 150 Busy count :116 congestion_count : 54 failed_count : 129UPDATE voice_compaign_detail_78918 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 UPDATE voice_compaign_detail_78918 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 116 UPDATE voice_compaign_detail_78918 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_78918 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`='398', `user_busy_sms`='314', `user_congestion_sms`='56', `user_failed_sms`='470', `user_hangup_sms`='0', `user_no_answer_sms`='342', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1946' WHERE `compaign_id`=78918 LIMIT 1 


Time Diff : 0.129

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.84139 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.96178 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15929

user answer per : 177
below is the redis data 15752 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15752 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.01657 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.3798 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.40927 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16726

user answer per : 177
below is the redis data 16549 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16549 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 135
    [credit_seq] => 135
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505442
    [last_credit_update_time] => 1764505442
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.41193 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.50389 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.76753 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14723

user answer per : 177
below is the redis data 14546 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.45873 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246601'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.23789 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.62408 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15744

user answer per : 177
below is the redis data 15567 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15567 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.70484 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.57651 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.54955 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15153

user answer per : 177
below is the redis data 14976 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14976 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.33417 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.65383 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.3216 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16127

user answer per : 177
below is the redis data 15950 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15950 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505683
    [last_credit_update_time] => 1764505683
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.0695 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78920
    [compaign_id] => 78920
    [1] => u7434
    [user_id] => u7434
    [2] => 66492,
    [group_ids] => 66492,
    [3] => 
    [sender_id] => 
    [4] => SuvarnaKhatalAudio.mp3
    [filename] => SuvarnaKhatalAudio.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505095
    [start_date] => 1764505095
    [9] => 0
    [end_date] => 0
    [10] => 36437
    [total_sms] => 36437
    [11] => 36437
    [sent_sms] => 36437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3085
    [answered_sms] => 3085
    [14] => 2023
    [busy_sms] => 2023
    [15] => 12
    [congestion_sms] => 12
    [16] => 3792
    [failed_sms] => 3792
    [17] => 0
    [hangup_sms] => 0
    [18] => 3657
    [no_answer_sms] => 3657
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 14666
    [cutting_sms] => 14666
    [22] => 9202
    [dnd_sms] => 9202
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3085
    [user_answered_sms] => 3085
    [27] => 2023
    [user_busy_sms] => 2023
    [28] => 12
    [user_congestion_sms] => 12
    [29] => 3792
    [user_failed_sms] => 3792
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3657
    [user_no_answer_sms] => 3657
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 9202
    [user_dnd_sms] => 9202
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u7434
    [created_by] => u7434
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505075
    [create_date] => 1764505075
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505103,"compaign_read_start_time":1764505105,"compaign_read_complete_time":1764505192,"compaign_send_start_time":1764505201,"compaign_send_complete_time":1764505359}
    [action_time] => {"api_allot_time":1764505103,"compaign_read_start_time":1764505105,"compaign_read_complete_time":1764505192,"compaign_send_start_time":1764505201,"compaign_send_complete_time":1764505359}
    [50] => 0
    [compaign_file] => 0
    [51] => u7434_78920_30112025_054821PM_720
    [common_name] => u7434_78920_30112025_054821PM_720
    [52] => 1764505074_u7434_voice.wav
    [voice_file] => 1764505074_u7434_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66492
    [temp_group_table] => contacts_temp_group_66492
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1764505802
    [reschedule_last_check_time] => 1764505802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505863
    [last_credit_update_time] => 1764505863
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1577
    [user_voice_plan_id] => 1577
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764509400}
    [rt_time] => {"1":1764509400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r118,u7434
    [uphierarchy] => admin,sr173,r118,u7434
    [113] => 
    [extra_params_json] => 
)


Compaign : 78920
\compaign_type : Rans per 28.14804 
ans sms 36437
dnd sms 9202

require answer perrequire answer per : 7667

user answer per : 3085
below is the redis data 4582 UPDATE voice_compaign_detail_78920 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4582 Total Failed : 10089 no_answer_count : 3364 Busy count :2589 congestion_count : 1198 failed_count : 2938UPDATE voice_compaign_detail_78920 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3364 UPDATE voice_compaign_detail_78920 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2589 UPDATE voice_compaign_detail_78920 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1198 UPDATE voice_compaign_detail_78920 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2938 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7667', `user_busy_sms`='4612', `user_congestion_sms`='1205', `user_failed_sms`='6730', `user_hangup_sms`='0', `user_no_answer_sms`='7021', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9202' WHERE `compaign_id`=78920 LIMIT 1 


Time Diff : 0.019

Array
(
    [0] => 78922
    [compaign_id] => 78922
    [1] => u29673
    [user_id] => u29673
    [2] => 66496,
    [group_ids] => 66496,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505323
    [start_date] => 1764505323
    [9] => 0
    [end_date] => 0
    [10] => 231
    [total_sms] => 231
    [11] => 231
    [sent_sms] => 231
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 3
    [no_answer_sms] => 3
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505323
    [create_date] => 1764505323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505331,"compaign_read_start_time":1764505333,"compaign_read_complete_time":1764505334,"compaign_send_start_time":1764505382,"compaign_send_complete_time":1764505391}
    [action_time] => {"api_allot_time":1764505331,"compaign_read_start_time":1764505333,"compaign_read_complete_time":1764505334,"compaign_send_start_time":1764505382,"compaign_send_complete_time":1764505391}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78922_30112025_055209PM_835
    [common_name] => u29673_78922_30112025_055209PM_835
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66496
    [temp_group_table] => contacts_temp_group_66496
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764505863
    [last_credit_update_time] => 1764505863
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78922
\compaign_type : Rans per 27.72255 
ans sms 231
dnd sms 185

require answer perrequire answer per : 13

user answer per : 0
below is the redis data 13 UPDATE voice_compaign_detail_78922 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='23', `user_congestion_sms`='0', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='3', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78922 LIMIT 1 


Time Diff : 0.948

Array
(
    [0] => 78923
    [compaign_id] => 78923
    [1] => u29673
    [user_id] => u29673
    [2] => 66494,
    [group_ids] => 66494,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505323
    [start_date] => 1764505323
    [9] => 0
    [end_date] => 0
    [10] => 353
    [total_sms] => 353
    [11] => 353
    [sent_sms] => 353
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 52
    [cutting_sms] => 52
    [22] => 185
    [dnd_sms] => 185
    [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] => 48
    [user_failed_sms] => 48
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 27
    [user_no_answer_sms] => 27
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505323
    [create_date] => 1764505323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505332,"compaign_read_start_time":1764505336,"compaign_read_complete_time":1764505337,"compaign_send_start_time":1764505382,"compaign_send_complete_time":1764505392}
    [action_time] => {"api_allot_time":1764505332,"compaign_read_start_time":1764505336,"compaign_read_complete_time":1764505337,"compaign_send_start_time":1764505382,"compaign_send_complete_time":1764505392}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78923_30112025_055209PM_905
    [common_name] => u29673_78923_30112025_055209PM_905
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66494
    [temp_group_table] => contacts_temp_group_66494
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764505863
    [last_credit_update_time] => 1764505863
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78923
\compaign_type : Rans per 25.56614 
ans sms 353
dnd sms 185

require answer perrequire answer per : 43

user answer per : 11
below is the redis data 32 UPDATE voice_compaign_detail_78923 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 20 no_answer_count : 7 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_78923 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_78923 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78923 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_78923 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`='43', `user_busy_sms`='36', `user_congestion_sms`='3', `user_failed_sms`='52', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78923 LIMIT 1 


Time Diff : 0.623

Array
(
    [0] => 78925
    [compaign_id] => 78925
    [1] => u29401
    [user_id] => u29401
    [2] => 66497,
    [group_ids] => 66497,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505556
    [start_date] => 1764505556
    [9] => 0
    [end_date] => 0
    [10] => 3257
    [total_sms] => 3257
    [11] => 3257
    [sent_sms] => 3257
    [12] => 0
    [duplicate_sms] => 0
    [13] => 387
    [answered_sms] => 387
    [14] => 150
    [busy_sms] => 150
    [15] => 4
    [congestion_sms] => 4
    [16] => 729
    [failed_sms] => 729
    [17] => 0
    [hangup_sms] => 0
    [18] => 346
    [no_answer_sms] => 346
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1641
    [cutting_sms] => 1641
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 387
    [user_answered_sms] => 387
    [27] => 150
    [user_busy_sms] => 150
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 729
    [user_failed_sms] => 729
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 346
    [user_no_answer_sms] => 346
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505554
    [create_date] => 1764505554
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505564,"compaign_read_start_time":1764505565,"compaign_read_complete_time":1764505569,"compaign_send_start_time":1764505621,"compaign_send_complete_time":1764505631}
    [action_time] => {"api_allot_time":1764505564,"compaign_read_start_time":1764505565,"compaign_read_complete_time":1764505569,"compaign_send_start_time":1764505621,"compaign_send_complete_time":1764505631}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78925_30112025_055602PM_961
    [common_name] => u29401_78925_30112025_055602PM_961
    [52] => 1764505554_u29401_voice.wav
    [voice_file] => 1764505554_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66497
    [temp_group_table] => contacts_temp_group_66497
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505862
    [last_credit_update_time] => 1764505862
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr27,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78925
\compaign_type : Rans per 25.87582 
ans sms 3257
dnd sms 0

require answer perrequire answer per : 843

user answer per : 387
below is the redis data 456 UPDATE voice_compaign_detail_78925 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 456 Total Failed : 1187 no_answer_count : 396 Busy count :305 congestion_count : 141 failed_count : 345UPDATE voice_compaign_detail_78925 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 396 UPDATE voice_compaign_detail_78925 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 305 UPDATE voice_compaign_detail_78925 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 141 UPDATE voice_compaign_detail_78925 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 345 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='843', `user_busy_sms`='455', `user_congestion_sms`='143', `user_failed_sms`='1074', `user_hangup_sms`='0', `user_no_answer_sms`='742', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78925 LIMIT 1 


Time Diff : 0.088

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246781'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.36605 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.77206 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16925

user answer per : 177
below is the redis data 16748 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16748 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.77611 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78929
    [compaign_id] => 78929
    [1] => u29690
    [user_id] => u29690
    [2] => 66500,
    [group_ids] => 66500,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505643
    [start_date] => 1764505643
    [9] => 0
    [end_date] => 0
    [10] => 4501
    [total_sms] => 4501
    [11] => 4501
    [sent_sms] => 4501
    [12] => 0
    [duplicate_sms] => 0
    [13] => 167
    [answered_sms] => 167
    [14] => 357
    [busy_sms] => 357
    [15] => 1
    [congestion_sms] => 1
    [16] => 498
    [failed_sms] => 498
    [17] => 0
    [hangup_sms] => 0
    [18] => 350
    [no_answer_sms] => 350
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1465
    [cutting_sms] => 1465
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 167
    [user_answered_sms] => 167
    [27] => 357
    [user_busy_sms] => 357
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 498
    [user_failed_sms] => 498
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 350
    [user_no_answer_sms] => 350
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764505643
    [create_date] => 1764505643
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505651,"compaign_read_start_time":1764505651,"compaign_read_complete_time":1764505663,"compaign_send_start_time":1764505682,"compaign_send_complete_time":1764505698}
    [action_time] => {"api_allot_time":1764505651,"compaign_read_start_time":1764505651,"compaign_read_complete_time":1764505663,"compaign_send_start_time":1764505682,"compaign_send_complete_time":1764505698}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78929_30112025_055729PM_714
    [common_name] => u29690_78929_30112025_055729PM_714
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66500
    [temp_group_table] => contacts_temp_group_66500
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505922
    [last_credit_update_time] => 1764505922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78929
\compaign_type : Rans per 27.32491 
ans sms 4501
dnd sms 1663

require answer perrequire answer per : 776

user answer per : 167
below is the redis data 609 UPDATE voice_compaign_detail_78929 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 609 Total Failed : 857 no_answer_count : 286 Busy count :220 congestion_count : 102 failed_count : 249UPDATE voice_compaign_detail_78929 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 286 UPDATE voice_compaign_detail_78929 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 220 UPDATE voice_compaign_detail_78929 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_78929 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 249 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='776', `user_busy_sms`='577', `user_congestion_sms`='102', `user_failed_sms`='747', `user_hangup_sms`='0', `user_no_answer_sms`='636', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78929 LIMIT 1 


Time Diff : 0.056

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246842'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.96991 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.44867 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15647

user answer per : 177
below is the redis data 15470 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15470 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.64032 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.58515 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.97876 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15389

user answer per : 177
below is the redis data 15212 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15212 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.17821 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764246962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.15153 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.9608 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14829

user answer per : 177
below is the redis data 14652 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14652 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 137
    [credit_seq] => 137
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764505923
    [last_credit_update_time] => 1764505923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.47653 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78924
    [compaign_id] => 78924
    [1] => u7434
    [user_id] => u7434
    [2] => 66495,
    [group_ids] => 66495,
    [3] => 
    [sender_id] => 
    [4] => 03_PaytalTajne.mp3
    [filename] => 03_PaytalTajne.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764505800
    [start_date] => 1764505800
    [9] => 0
    [end_date] => 0
    [10] => 1416
    [total_sms] => 1416
    [11] => 1416
    [sent_sms] => 1416
    [12] => 0
    [duplicate_sms] => 0
    [13] => 79
    [answered_sms] => 79
    [14] => 93
    [busy_sms] => 93
    [15] => 0
    [congestion_sms] => 0
    [16] => 173
    [failed_sms] => 173
    [17] => 0
    [hangup_sms] => 0
    [18] => 123
    [no_answer_sms] => 123
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 423
    [cutting_sms] => 423
    [22] => 525
    [dnd_sms] => 525
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 79
    [user_answered_sms] => 79
    [27] => 93
    [user_busy_sms] => 93
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 173
    [user_failed_sms] => 173
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 123
    [user_no_answer_sms] => 123
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 525
    [user_dnd_sms] => 525
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u7434
    [created_by] => u7434
    [38] => 1
    [isScheduled] => 1
    [39] => 1764505336
    [create_date] => 1764505336
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764505807,"compaign_read_start_time":1764505813,"compaign_read_complete_time":1764505816,"compaign_send_start_time":1764505862,"compaign_send_complete_time":1764505870}
    [action_time] => {"api_allot_time":1764505807,"compaign_read_start_time":1764505813,"compaign_read_complete_time":1764505816,"compaign_send_start_time":1764505862,"compaign_send_complete_time":1764505870}
    [50] => 0
    [compaign_file] => 0
    [51] => u7434_78924_30112025_060005PM_493
    [common_name] => u7434_78924_30112025_060005PM_493
    [52] => 1764504008_u7434_voice.wav
    [voice_file] => 1764504008_u7434_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66495
    [temp_group_table] => contacts_temp_group_66495
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506101
    [last_credit_update_time] => 1764506101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1577
    [user_voice_plan_id] => 1577
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r118,u7434
    [uphierarchy] => admin,sr173,r118,u7434
    [113] => 
    [extra_params_json] => 
)


Compaign : 78924
\compaign_type : Rans per 25.40716 
ans sms 1416
dnd sms 525

require answer perrequire answer per : 227

user answer per : 79
below is the redis data 148 UPDATE voice_compaign_detail_78924 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 148 Total Failed : 275 no_answer_count : 92 Busy count :71 congestion_count : 33 failed_count : 79UPDATE voice_compaign_detail_78924 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_78924 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_78924 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_78924 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`='227', `user_busy_sms`='164', `user_congestion_sms`='33', `user_failed_sms`='252', `user_hangup_sms`='0', `user_no_answer_sms`='215', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='525' WHERE `compaign_id`=78924 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>'1764247021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.7702 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.50775 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16780

user answer per : 177
below is the redis data 16603 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16603 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.83413 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.10273 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.21079 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13866

user answer per : 177
below is the redis data 13689 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13689 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.17064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.16371 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.98387 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17042

user answer per : 177
below is the redis data 16865 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16865 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.40069 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.91913 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.36011 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16699

user answer per : 177
below is the redis data 16522 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16522 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 138
    [credit_seq] => 138
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506163
    [last_credit_update_time] => 1764506163
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.24655 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247261'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.98743 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.21805 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14970

user answer per : 177
below is the redis data 14793 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14793 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.96829 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.15553 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.20751 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14415

user answer per : 177
below is the redis data 14238 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14238 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.23721 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.58431 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.50717 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15129

user answer per : 177
below is the redis data 14952 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14952 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.11177 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78936
    [compaign_id] => 78936
    [1] => u29673
    [user_id] => u29673
    [2] => 66511,
    [group_ids] => 66511,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764506222
    [start_date] => 1764506222
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 4
    [no_answer_sms] => 4
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 4
    [user_no_answer_sms] => 4
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764506222
    [create_date] => 1764506222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764506228,"compaign_read_start_time":1764506230,"compaign_read_complete_time":1764506230,"compaign_send_start_time":1764506282,"compaign_send_complete_time":1764506288}
    [action_time] => {"api_allot_time":1764506228,"compaign_read_start_time":1764506230,"compaign_read_complete_time":1764506230,"compaign_send_start_time":1764506282,"compaign_send_complete_time":1764506288}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78936_30112025_060707PM_946
    [common_name] => u29673_78936_30112025_060707PM_946
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66511
    [temp_group_table] => contacts_temp_group_66511
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506522
    [last_credit_update_time] => 1764506522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78936
\compaign_type : Rans per 26.03679 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 0
below is the redis data 12 UPDATE voice_compaign_detail_78936 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`='0', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='22', `user_hangup_sms`='0', `user_no_answer_sms`='4', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78936 LIMIT 1 


Time Diff : 1.175

Array
(
    [0] => 78937
    [compaign_id] => 78937
    [1] => u29673
    [user_id] => u29673
    [2] => 66510,
    [group_ids] => 66510,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764506222
    [start_date] => 1764506222
    [9] => 0
    [end_date] => 0
    [10] => 310
    [total_sms] => 310
    [11] => 310
    [sent_sms] => 310
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37
    [cutting_sms] => 37
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764506222
    [create_date] => 1764506222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764506229,"compaign_read_start_time":1764506233,"compaign_read_complete_time":1764506234,"compaign_send_start_time":1764506282,"compaign_send_complete_time":1764506288}
    [action_time] => {"api_allot_time":1764506229,"compaign_read_start_time":1764506233,"compaign_read_complete_time":1764506234,"compaign_send_start_time":1764506282,"compaign_send_complete_time":1764506288}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78937_30112025_060707PM_340
    [common_name] => u29673_78937_30112025_060707PM_340
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66510
    [temp_group_table] => contacts_temp_group_66510
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506522
    [last_credit_update_time] => 1764506522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78937
\compaign_type : Rans per 30.58264 
ans sms 310
dnd sms 185

require answer perrequire answer per : 39

user answer per : 6
below is the redis data 33 UPDATE voice_compaign_detail_78937 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 33 Total Failed : 4 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_78937 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78937 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_78937 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`='39', `user_busy_sms`='31', `user_congestion_sms`='0', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='19', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78937 LIMIT 1 


Time Diff : 0.868

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247442'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.67787 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.16594 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14942

user answer per : 177
below is the redis data 14765 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14765 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 139
    [credit_seq] => 139
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506402
    [last_credit_update_time] => 1764506402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.56855 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247502'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.98012 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.86 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14773

user answer per : 177
below is the redis data 14596 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14596 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.83796 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78938
    [compaign_id] => 78938
    [1] => u29690
    [user_id] => u29690
    [2] => 66509,
    [group_ids] => 66509,
    [3] => 
    [sender_id] => 
    [4] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [filename] => Amazad Basha VOICE OVER (mp3cut.net) 2.wav
    [5] => 41
    [duration] => 41
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1764506236
    [start_date] => 1764506236
    [9] => 0
    [end_date] => 0
    [10] => 3725
    [total_sms] => 3725
    [11] => 3725
    [sent_sms] => 3725
    [12] => 0
    [duplicate_sms] => 0
    [13] => 119
    [answered_sms] => 119
    [14] => 325
    [busy_sms] => 325
    [15] => 1
    [congestion_sms] => 1
    [16] => 396
    [failed_sms] => 396
    [17] => 0
    [hangup_sms] => 0
    [18] => 270
    [no_answer_sms] => 270
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 951
    [cutting_sms] => 951
    [22] => 1663
    [dnd_sms] => 1663
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 119
    [user_answered_sms] => 119
    [27] => 325
    [user_busy_sms] => 325
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 396
    [user_failed_sms] => 396
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 270
    [user_no_answer_sms] => 270
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1663
    [user_dnd_sms] => 1663
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29690
    [created_by] => u29690
    [38] => 0
    [isScheduled] => 0
    [39] => 1764506236
    [create_date] => 1764506236
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764506371,"compaign_read_start_time":1764506372,"compaign_read_complete_time":1764506379,"compaign_send_start_time":1764506401,"compaign_send_complete_time":1764506407}
    [action_time] => {"api_allot_time":1764506371,"compaign_read_start_time":1764506372,"compaign_read_complete_time":1764506379,"compaign_send_start_time":1764506401,"compaign_send_complete_time":1764506407}
    [50] => 0
    [compaign_file] => 0
    [51] => u29690_78938_30112025_060721PM_314
    [common_name] => u29690_78938_30112025_060721PM_314
    [52] => 1764501578_u29690_voice.wav
    [voice_file] => 1764501578_u29690_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66509
    [temp_group_table] => contacts_temp_group_66509
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506642
    [last_credit_update_time] => 1764506642
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1898
    [user_voice_plan_id] => 1898
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.39
    [pulse_rate] => 0.39
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr213,u29690
    [uphierarchy] => admin,sr213,u29690
    [113] => 
    [extra_params_json] => 
)


Compaign : 78938
\compaign_type : Rans per 28.59397 
ans sms 3725
dnd sms 1663

require answer perrequire answer per : 590

user answer per : 119
below is the redis data 471 UPDATE voice_compaign_detail_78938 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 471 Total Failed : 481 no_answer_count : 161 Busy count :124 congestion_count : 58 failed_count : 138UPDATE voice_compaign_detail_78938 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 161 UPDATE voice_compaign_detail_78938 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_78938 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_78938 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='590', `user_busy_sms`='449', `user_congestion_sms`='58', `user_failed_sms`='534', `user_hangup_sms`='0', `user_no_answer_sms`='431', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1663' WHERE `compaign_id`=78938 LIMIT 1 


Time Diff : 0.074

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247561'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.39218 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.14882 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14382

user answer per : 177
below is the redis data 14205 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14205 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.8717 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.37623 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.53041 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15142

user answer per : 177
below is the redis data 14965 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14965 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.37967 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.40712 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.34121 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15588

user answer per : 177
below is the redis data 15411 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15411 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 140
    [credit_seq] => 140
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506651
    [last_credit_update_time] => 1764506651
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.56254 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247741'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.32073 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.11693 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15465

user answer per : 177
below is the redis data 15288 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15288 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.61442 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247802'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.29809 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.95144 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17024

user answer per : 177
below is the redis data 16847 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16847 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.74906 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247861'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.30334 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.12439 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13819

user answer per : 177
below is the redis data 13642 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13642 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.15486 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247921'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.40075 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.19241 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16606

user answer per : 177
below is the redis data 16429 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16429 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 141
    [credit_seq] => 141
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764506882
    [last_credit_update_time] => 1764506882
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.72064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764247982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.75263 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.13412 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14374

user answer per : 177
below is the redis data 14197 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14197 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.10704 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.07138 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.92661 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16460

user answer per : 177
below is the redis data 16283 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16283 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.01899 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08144 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.00198 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14852

user answer per : 177
below is the redis data 14675 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14675 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.89161 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.57094 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.12812 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16021

user answer per : 177
below is the redis data 15844 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15844 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 142
    [credit_seq] => 142
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507123
    [last_credit_update_time] => 1764507123
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.23848 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78944
    [compaign_id] => 78944
    [1] => u29401
    [user_id] => u29401
    [2] => 66518,
    [group_ids] => 66518,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507094
    [start_date] => 1764507094
    [9] => 0
    [end_date] => 0
    [10] => 1479
    [total_sms] => 1479
    [11] => 1479
    [sent_sms] => 1479
    [12] => 0
    [duplicate_sms] => 0
    [13] => 159
    [answered_sms] => 159
    [14] => 88
    [busy_sms] => 88
    [15] => 0
    [congestion_sms] => 0
    [16] => 318
    [failed_sms] => 318
    [17] => 0
    [hangup_sms] => 0
    [18] => 170
    [no_answer_sms] => 170
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 744
    [cutting_sms] => 744
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 159
    [user_answered_sms] => 159
    [27] => 88
    [user_busy_sms] => 88
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 318
    [user_failed_sms] => 318
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 170
    [user_no_answer_sms] => 170
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507093
    [create_date] => 1764507093
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507101,"compaign_read_start_time":1764507103,"compaign_read_complete_time":1764507105,"compaign_send_start_time":1764507122,"compaign_send_complete_time":1764507134}
    [action_time] => {"api_allot_time":1764507101,"compaign_read_start_time":1764507103,"compaign_read_complete_time":1764507105,"compaign_send_start_time":1764507122,"compaign_send_complete_time":1764507134}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78944_30112025_062139PM_122
    [common_name] => u29401_78944_30112025_062139PM_122
    [52] => 1764507093_u29401_voice.wav
    [voice_file] => 1764507093_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66518
    [temp_group_table] => contacts_temp_group_66518
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507302
    [last_credit_update_time] => 1764507302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78944
\compaign_type : Rans per 27.81298 
ans sms 1479
dnd sms 0

require answer perrequire answer per : 412

user answer per : 159
below is the redis data 253 UPDATE voice_compaign_detail_78944 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 253 Total Failed : 491 no_answer_count : 164 Busy count :126 congestion_count : 59 failed_count : 142UPDATE voice_compaign_detail_78944 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 164 UPDATE voice_compaign_detail_78944 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 126 UPDATE voice_compaign_detail_78944 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_78944 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 142 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='412', `user_busy_sms`='214', `user_congestion_sms`='59', `user_failed_sms`='460', `user_hangup_sms`='0', `user_no_answer_sms`='334', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78944 LIMIT 1 


Time Diff : 0.141

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.17805 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.21084 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14966

user answer per : 177
below is the redis data 14789 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14789 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 27966
    [total_sms] => 27966
    [11] => 27966
    [sent_sms] => 27966
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 10468
    [busy_sms] => 10468
    [15] => 17
    [congestion_sms] => 17
    [16] => 16347
    [failed_sms] => 16347
    [17] => 0
    [hangup_sms] => 0
    [18] => 1089
    [no_answer_sms] => 1089
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 59
    [user_answered_sms] => 59
    [27] => 10468
    [user_busy_sms] => 10468
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 16347
    [user_failed_sms] => 16347
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1089
    [user_no_answer_sms] => 1089
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.9861 
ans sms 27966
dnd sms 0

require answer perrequire answer per : 8666

user answer per : 59
below is the redis data 8607 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8607 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='62', `user_busy_sms`='10468', `user_congestion_sms`='0', `user_failed_sms`='16347', `user_hangup_sms`='0', `user_no_answer_sms`='1089', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.266

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.29255 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248281'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.96699 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.5177 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14585

user answer per : 177
below is the redis data 14408 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14408 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.94637 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78945
    [compaign_id] => 78945
    [1] => u29673
    [user_id] => u29673
    [2] => 66519,
    [group_ids] => 66519,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507123
    [start_date] => 1764507123
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [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] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507123
    [create_date] => 1764507123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507131,"compaign_read_start_time":1764507133,"compaign_read_complete_time":1764507134,"compaign_send_start_time":1764507182,"compaign_send_complete_time":1764507183}
    [action_time] => {"api_allot_time":1764507131,"compaign_read_start_time":1764507133,"compaign_read_complete_time":1764507134,"compaign_send_start_time":1764507182,"compaign_send_complete_time":1764507183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78945_30112025_062209PM_875
    [common_name] => u29673_78945_30112025_062209PM_875
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66519
    [temp_group_table] => contacts_temp_group_66519
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507421
    [last_credit_update_time] => 1764507421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78945
\compaign_type : Rans per 29.65594 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 0
below is the redis data 14 UPDATE voice_compaign_detail_78945 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`='0', `user_busy_sms`='22', `user_congestion_sms`='0', `user_failed_sms`='16', `user_hangup_sms`='0', `user_no_answer_sms`='6', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78945 LIMIT 1 


Time Diff : 1.17

Array
(
    [0] => 78946
    [compaign_id] => 78946
    [1] => u29401
    [user_id] => u29401
    [2] => 66520,
    [group_ids] => 66520,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507221
    [start_date] => 1764507221
    [9] => 0
    [end_date] => 0
    [10] => 1475
    [total_sms] => 1475
    [11] => 1475
    [sent_sms] => 1475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 147
    [answered_sms] => 147
    [14] => 75
    [busy_sms] => 75
    [15] => 0
    [congestion_sms] => 0
    [16] => 366
    [failed_sms] => 366
    [17] => 0
    [hangup_sms] => 0
    [18] => 169
    [no_answer_sms] => 169
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 718
    [cutting_sms] => 718
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 147
    [user_answered_sms] => 147
    [27] => 75
    [user_busy_sms] => 75
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 366
    [user_failed_sms] => 366
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 169
    [user_no_answer_sms] => 169
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507220
    [create_date] => 1764507220
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507229,"compaign_read_start_time":1764507230,"compaign_read_complete_time":1764507232,"compaign_send_start_time":1764507241,"compaign_send_complete_time":1764507245}
    [action_time] => {"api_allot_time":1764507229,"compaign_read_start_time":1764507230,"compaign_read_complete_time":1764507232,"compaign_send_start_time":1764507241,"compaign_send_complete_time":1764507245}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78946_30112025_062348PM_106
    [common_name] => u29401_78946_30112025_062348PM_106
    [52] => 1764507220_u29401_voice.wav
    [voice_file] => 1764507220_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66520
    [temp_group_table] => contacts_temp_group_66520
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507481
    [last_credit_update_time] => 1764507481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78946
\compaign_type : Rans per 30.26929 
ans sms 1475
dnd sms 0

require answer perrequire answer per : 447

user answer per : 147
below is the redis data 300 UPDATE voice_compaign_detail_78946 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 300 Total Failed : 418 no_answer_count : 140 Busy count :108 congestion_count : 50 failed_count : 120UPDATE voice_compaign_detail_78946 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 140 UPDATE voice_compaign_detail_78946 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_78946 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_78946 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 120 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='447', `user_busy_sms`='183', `user_congestion_sms`='50', `user_failed_sms`='486', `user_hangup_sms`='0', `user_no_answer_sms`='309', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78946 LIMIT 1 


Time Diff : 0.146

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248342'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.3638 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.05752 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14332

user answer per : 177
below is the redis data 14155 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14155 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.40465 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248401'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.79121 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.8667 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14777

user answer per : 177
below is the redis data 14600 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14600 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 143
    [credit_seq] => 143
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507363
    [last_credit_update_time] => 1764507363
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.23552 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.67734 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.86016 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15324

user answer per : 177
below is the redis data 15147 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15147 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.62268 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248521'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.82408 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.7883 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14734

user answer per : 177
below is the redis data 14557 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14557 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.2002 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78947
    [compaign_id] => 78947
    [1] => u29401
    [user_id] => u29401
    [2] => 66521,
    [group_ids] => 66521,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507362
    [start_date] => 1764507362
    [9] => 0
    [end_date] => 0
    [10] => 1969
    [total_sms] => 1969
    [11] => 1969
    [sent_sms] => 1969
    [12] => 0
    [duplicate_sms] => 0
    [13] => 231
    [answered_sms] => 231
    [14] => 105
    [busy_sms] => 105
    [15] => 0
    [congestion_sms] => 0
    [16] => 499
    [failed_sms] => 499
    [17] => 0
    [hangup_sms] => 0
    [18] => 235
    [no_answer_sms] => 235
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 899
    [cutting_sms] => 899
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 231
    [user_answered_sms] => 231
    [27] => 105
    [user_busy_sms] => 105
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 499
    [user_failed_sms] => 499
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 235
    [user_no_answer_sms] => 235
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507361
    [create_date] => 1764507361
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507370,"compaign_read_start_time":1764507371,"compaign_read_complete_time":1764507374,"compaign_send_start_time":1764507421,"compaign_send_complete_time":1764507496}
    [action_time] => {"api_allot_time":1764507370,"compaign_read_start_time":1764507371,"compaign_read_complete_time":1764507374,"compaign_send_start_time":1764507421,"compaign_send_complete_time":1764507496}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78947_30112025_062608PM_221
    [common_name] => u29401_78947_30112025_062608PM_221
    [52] => 1764507361_u29401_voice.wav
    [voice_file] => 1764507361_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66521
    [temp_group_table] => contacts_temp_group_66521
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507662
    [last_credit_update_time] => 1764507662
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78947
\compaign_type : Rans per 28.88767 
ans sms 1969
dnd sms 0

require answer perrequire answer per : 569

user answer per : 231
below is the redis data 338 UPDATE voice_compaign_detail_78947 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 338 Total Failed : 561 no_answer_count : 188 Busy count :144 congestion_count : 67 failed_count : 162UPDATE voice_compaign_detail_78947 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_78947 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 144 UPDATE voice_compaign_detail_78947 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_78947 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 162 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='569', `user_busy_sms`='249', `user_congestion_sms`='67', `user_failed_sms`='661', `user_hangup_sms`='0', `user_no_answer_sms`='423', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78947 LIMIT 1 


Time Diff : 0.109

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.98595 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.2888 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14459

user answer per : 177
below is the redis data 14282 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14282 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.86986 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248642'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.65981 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.26798 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15548

user answer per : 177
below is the redis data 15371 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15371 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 144
    [credit_seq] => 144
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507602
    [last_credit_update_time] => 1764507602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.59325 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.06528 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.70801 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15240

user answer per : 177
below is the redis data 15063 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15063 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.37064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.67574 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.00095 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16501

user answer per : 177
below is the redis data 16324 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16324 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.66756 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.86718 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.59621 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14078

user answer per : 177
below is the redis data 13901 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13901 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.2227 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248881'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.19325 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.95274 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15925

user answer per : 177
below is the redis data 15748 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15748 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 145
    [credit_seq] => 145
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764507843
    [last_credit_update_time] => 1764507843
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.92286 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78948
    [compaign_id] => 78948
    [1] => u29401
    [user_id] => u29401
    [2] => 66522,
    [group_ids] => 66522,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507617
    [start_date] => 1764507617
    [9] => 0
    [end_date] => 0
    [10] => 1428
    [total_sms] => 1428
    [11] => 1428
    [sent_sms] => 1428
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 86
    [busy_sms] => 86
    [15] => 0
    [congestion_sms] => 0
    [16] => 457
    [failed_sms] => 457
    [17] => 0
    [hangup_sms] => 0
    [18] => 160
    [no_answer_sms] => 160
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 722
    [cutting_sms] => 722
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 86
    [user_busy_sms] => 86
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 457
    [user_failed_sms] => 457
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507616
    [create_date] => 1764507616
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507754,"compaign_read_start_time":1764507754,"compaign_read_complete_time":1764507757,"compaign_send_start_time":1764507782,"compaign_send_complete_time":1764507785}
    [action_time] => {"api_allot_time":1764507754,"compaign_read_start_time":1764507754,"compaign_read_complete_time":1764507757,"compaign_send_start_time":1764507782,"compaign_send_complete_time":1764507785}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78948_30112025_063023PM_563
    [common_name] => u29401_78948_30112025_063023PM_563
    [52] => 1764507616_u29401_voice.wav
    [voice_file] => 1764507616_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66522
    [temp_group_table] => contacts_temp_group_66522
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508021
    [last_credit_update_time] => 1764508021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr27,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78948
\compaign_type : Rans per 29.39005 
ans sms 1428
dnd sms 0

require answer perrequire answer per : 420

user answer per : 3
below is the redis data 417 UPDATE voice_compaign_detail_78948 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 417 Total Failed : 305 no_answer_count : 102 Busy count :79 congestion_count : 37 failed_count : 87UPDATE voice_compaign_detail_78948 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_78948 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_78948 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_78948 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`='420', `user_busy_sms`='165', `user_congestion_sms`='37', `user_failed_sms`='544', `user_hangup_sms`='0', `user_no_answer_sms`='262', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78948 LIMIT 1 


Time Diff : 0.188

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764248942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.95339 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.38702 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14513

user answer per : 177
below is the redis data 14336 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14336 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.40436 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.93952 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.51707 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14035

user answer per : 177
below is the redis data 13858 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13858 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.68908 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78949
    [compaign_id] => 78949
    [1] => r54
    [user_id] => r54
    [2] => 66524,
    [group_ids] => 66524,
    [3] => 
    [sender_id] => 
    [4] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [filename] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764507867
    [start_date] => 1764507867
    [9] => 0
    [end_date] => 0
    [10] => 535
    [total_sms] => 535
    [11] => 535
    [sent_sms] => 535
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 42
    [user_failed_sms] => 42
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 0
    [isScheduled] => 0
    [39] => 1764507867
    [create_date] => 1764507867
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764507873,"compaign_read_start_time":1764507875,"compaign_read_complete_time":1764507876,"compaign_send_start_time":1764507902,"compaign_send_complete_time":1764507904}
    [action_time] => {"api_allot_time":1764507873,"compaign_read_start_time":1764507875,"compaign_read_complete_time":1764507876,"compaign_send_start_time":1764507902,"compaign_send_complete_time":1764507904}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78949_30112025_063432PM_436
    [common_name] => r54_78949_30112025_063432PM_436
    [52] => 1764507867_r54_voice.wav
    [voice_file] => 1764507867_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66524
    [temp_group_table] => contacts_temp_group_66524
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764508142
    [last_credit_update_time] => 1764508142
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764508500,"2":1764509400}
    [rt_time] => {"1":1764508500,"2":1764509400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78949
\compaign_type : Rans per 25.30029 
ans sms 535
dnd sms 162

require answer perrequire answer per : 95

user answer per : 75
below is the redis data 20 /n/r
only no answer and busy will be convert, total number require 20 /n/r
UPDATE voice_compaign_detail_78949 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78949 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 130 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_78949 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_78949 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_78949 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78949 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='95', `user_busy_sms`='75', `user_congestion_sms`='16', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='116', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78949 LIMIT 1 


Time Diff : 0.501

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249062'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.24592 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.73747 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14706

user answer per : 177
below is the redis data 14529 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14529 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.86992 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.21255 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.53296 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14044

user answer per : 177
below is the redis data 13867 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13867 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 146
    [credit_seq] => 146
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508083
    [last_credit_update_time] => 1764508083
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.08672 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.41287 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.44574 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15646

user answer per : 177
below is the redis data 15469 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15469 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.50485 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78950
    [compaign_id] => 78950
    [1] => u29673
    [user_id] => u29673
    [2] => 66525,
    [group_ids] => 66525,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764508023
    [start_date] => 1764508023
    [9] => 0
    [end_date] => 0
    [10] => 271
    [total_sms] => 271
    [11] => 271
    [sent_sms] => 271
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [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] => 15
    [user_no_answer_sms] => 15
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764508023
    [create_date] => 1764508023
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764508031,"compaign_read_start_time":1764508033,"compaign_read_complete_time":1764508034,"compaign_send_start_time":1764508082,"compaign_send_complete_time":1764508083}
    [action_time] => {"api_allot_time":1764508031,"compaign_read_start_time":1764508033,"compaign_read_complete_time":1764508034,"compaign_send_start_time":1764508082,"compaign_send_complete_time":1764508083}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78950_30112025_063709PM_190
    [common_name] => u29673_78950_30112025_063709PM_190
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66525
    [temp_group_table] => contacts_temp_group_66525
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508321
    [last_credit_update_time] => 1764508321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78950
\compaign_type : Rans per 27.25436 
ans sms 271
dnd sms 185

require answer perrequire answer per : 24

user answer per : 1
below is the redis data 23 UPDATE voice_compaign_detail_78950 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`='21', `user_busy_sms`='29', `user_congestion_sms`='0', `user_failed_sms`='21', `user_hangup_sms`='0', `user_no_answer_sms`='15', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78950 LIMIT 1 


Time Diff : 1.011

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249241'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.71185 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.73445 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15254

user answer per : 177
below is the redis data 15077 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15077 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.59403 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.38564 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.00855 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14855

user answer per : 177
below is the redis data 14678 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14678 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.72515 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.52888 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.33505 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16135

user answer per : 177
below is the redis data 15958 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15958 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 147
    [credit_seq] => 147
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508322
    [last_credit_update_time] => 1764508322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.10204 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.91563 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.81693 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16950

user answer per : 177
below is the redis data 16773 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16773 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.36621 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249482'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.01863 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.86351 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14225

user answer per : 177
below is the redis data 14048 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14048 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.59217 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.45255 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.13498 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15475

user answer per : 177
below is the redis data 15298 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15298 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.265 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.0727 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.84993 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16968

user answer per : 177
below is the redis data 16791 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16791 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 148
    [credit_seq] => 148
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508562
    [last_credit_update_time] => 1764508562
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.56062 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.07053 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.37019 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14504

user answer per : 177
below is the redis data 14327 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14327 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 33475
    [total_sms] => 33475
    [11] => 33475
    [sent_sms] => 33475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 12489
    [busy_sms] => 12489
    [15] => 17
    [congestion_sms] => 17
    [16] => 19585
    [failed_sms] => 19585
    [17] => 0
    [hangup_sms] => 0
    [18] => 1329
    [no_answer_sms] => 1329
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 72
    [user_answered_sms] => 72
    [27] => 12489
    [user_busy_sms] => 12489
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19585
    [user_failed_sms] => 19585
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1329
    [user_no_answer_sms] => 1329
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.51324 
ans sms 33475
dnd sms 0

require answer perrequire answer per : 10215

user answer per : 72
below is the redis data 10143 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10143 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='72', `user_busy_sms`='12489', `user_congestion_sms`='0', `user_failed_sms`='19585', `user_hangup_sms`='0', `user_no_answer_sms`='1329', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.01112 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.93858 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.51244 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14032

user answer per : 177
below is the redis data 13855 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13855 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.82146 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.22966 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.78322 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15831

user answer per : 177
below is the redis data 15654 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15654 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.93249 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78954
    [compaign_id] => 78954
    [1] => r54
    [user_id] => r54
    [2] => 66529,
    [group_ids] => 66529,
    [3] => 
    [sender_id] => 
    [4] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [filename] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764508500
    [start_date] => 1764508500
    [9] => 0
    [end_date] => 0
    [10] => 440
    [total_sms] => 440
    [11] => 440
    [sent_sms] => 440
    [12] => 0
    [duplicate_sms] => 0
    [13] => 48
    [answered_sms] => 48
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 113
    [cutting_sms] => 113
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 48
    [user_answered_sms] => 48
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764508625
    [create_date] => 1764508625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764508627,"compaign_read_start_time":1764508627,"compaign_read_complete_time":1764508628,"compaign_send_start_time":1764508682,"compaign_send_complete_time":1764508683}
    [action_time] => {"api_allot_time":1764508627,"compaign_read_start_time":1764508627,"compaign_read_complete_time":1764508628,"compaign_send_start_time":1764508682,"compaign_send_complete_time":1764508683}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78954_30112025_064705PM_400
    [common_name] => r54_78954_30112025_064705PM_400
    [52] => 1764507867_r54_voice.wav
    [voice_file] => 1764507867_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66529
    [temp_group_table] => contacts_temp_group_66529
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508921
    [last_credit_update_time] => 1764508921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78954
\compaign_type : Rans per 27.22967 
ans sms 440
dnd sms 162

require answer perrequire answer per : 76

user answer per : 48
below is the redis data 28 /n/r
only no answer and busy will be convert, total number require 28 /n/r
UPDATE voice_compaign_detail_78954 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_78954 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 Total Failed : 82 no_answer_count : 28 Busy count :22 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_78954 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78954 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_78954 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78954 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='76', `user_busy_sms`='62', `user_congestion_sms`='10', `user_failed_sms`='49', `user_hangup_sms`='0', `user_no_answer_sms`='81', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78954 LIMIT 1 


Time Diff : 0.607

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.19631 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.74018 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16358

user answer per : 177
below is the redis data 16181 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16181 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 149
    [credit_seq] => 149
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508803
    [last_credit_update_time] => 1764508803
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.81222 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78952
    [compaign_id] => 78952
    [1] => u29673
    [user_id] => u29673
    [2] => 66531,
    [group_ids] => 66531,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764508624
    [start_date] => 1764508624
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 4
    [no_answer_sms] => 4
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 4
    [user_no_answer_sms] => 4
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764508624
    [create_date] => 1764508624
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764508631,"compaign_read_start_time":1764508682,"compaign_read_complete_time":1764508683,"compaign_send_start_time":1764508741,"compaign_send_complete_time":1764508742}
    [action_time] => {"api_allot_time":1764508631,"compaign_read_start_time":1764508682,"compaign_read_complete_time":1764508683,"compaign_send_start_time":1764508741,"compaign_send_complete_time":1764508742}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78952_30112025_064709PM_331
    [common_name] => u29673_78952_30112025_064709PM_331
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66531
    [temp_group_table] => contacts_temp_group_66531
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508982
    [last_credit_update_time] => 1764508982
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78952
\compaign_type : Rans per 29.93725 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 2
below is the redis data 12 UPDATE voice_compaign_detail_78952 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`='2', `user_busy_sms`='21', `user_congestion_sms`='0', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='4', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78952 LIMIT 1 


Time Diff : 1.201

Array
(
    [0] => 78953
    [compaign_id] => 78953
    [1] => u29673
    [user_id] => u29673
    [2] => 66530,
    [group_ids] => 66530,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764508624
    [start_date] => 1764508624
    [9] => 0
    [end_date] => 0
    [10] => 250
    [total_sms] => 250
    [11] => 250
    [sent_sms] => 250
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 9
    [no_answer_sms] => 9
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 11
    [cutting_sms] => 11
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 9
    [user_no_answer_sms] => 9
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764508624
    [create_date] => 1764508624
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764508631,"compaign_read_start_time":1764508685,"compaign_read_complete_time":1764508685,"compaign_send_start_time":1764508741,"compaign_send_complete_time":1764508742}
    [action_time] => {"api_allot_time":1764508631,"compaign_read_start_time":1764508685,"compaign_read_complete_time":1764508685,"compaign_send_start_time":1764508741,"compaign_send_complete_time":1764508742}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78953_30112025_064709PM_383
    [common_name] => u29673_78953_30112025_064709PM_383
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66530
    [temp_group_table] => contacts_temp_group_66530
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764508982
    [last_credit_update_time] => 1764508982
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78953
\compaign_type : Rans per 26.14703 
ans sms 250
dnd sms 185

require answer perrequire answer per : 17

user answer per : 2
below is the redis data 15 UPDATE voice_compaign_detail_78953 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`='13', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='9', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78953 LIMIT 1 


Time Diff : 1.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>'1764249902'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.74149 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.84235 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15864

user answer per : 177
below is the redis data 15687 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15687 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.15988 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764249962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.94488 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.07894 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15994

user answer per : 177
below is the redis data 15817 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15817 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.24169 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250021'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.13127 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.02185 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16513

user answer per : 177
below is the redis data 16336 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16336 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.41142 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.67548 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.18128 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14950

user answer per : 177
below is the redis data 14773 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14773 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 150
    [credit_seq] => 150
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509045
    [last_credit_update_time] => 1764509045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.1678 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250141'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.40143 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.7791 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16379

user answer per : 177
below is the redis data 16202 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16202 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.35555 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.3383 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.36919 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16704

user answer per : 177
below is the redis data 16527 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16527 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.83496 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250262'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.75609 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.89063 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15890

user answer per : 177
below is the redis data 15713 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15713 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.36224 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250322'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.78749 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.47649 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14563

user answer per : 177
below is the redis data 14386 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14386 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 151
    [credit_seq] => 151
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509288
    [last_credit_update_time] => 1764509288
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.45929 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.40895 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509523
    [last_credit_update_time] => 1764509523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.11033 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14911

user answer per : 177
below is the redis data 14734 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14734 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509524
    [last_credit_update_time] => 1764509524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.21425 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250442'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.34438 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509523
    [last_credit_update_time] => 1764509523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.04554 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14326

user answer per : 177
below is the redis data 14149 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14149 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509524
    [last_credit_update_time] => 1764509524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.66279 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.49381 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509523
    [last_credit_update_time] => 1764509523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.66496 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15766

user answer per : 177
below is the redis data 15589 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15589 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509524
    [last_credit_update_time] => 1764509524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.85695 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.57174 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509523
    [last_credit_update_time] => 1764509523
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.53175 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15693

user answer per : 177
below is the redis data 15516 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15516 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 152
    [credit_seq] => 152
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509524
    [last_credit_update_time] => 1764509524
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.72443 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78957
    [compaign_id] => 78957
    [1] => u20720
    [user_id] => u20720
    [2] => 66533,
    [group_ids] => 66533,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509267
    [start_date] => 1764509267
    [9] => 0
    [end_date] => 0
    [10] => 14153
    [total_sms] => 14153
    [11] => 14153
    [sent_sms] => 14153
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 856
    [busy_sms] => 856
    [15] => 9
    [congestion_sms] => 9
    [16] => 2992
    [failed_sms] => 2992
    [17] => 0
    [hangup_sms] => 0
    [18] => 1118
    [no_answer_sms] => 1118
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5807
    [cutting_sms] => 5807
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 856
    [user_busy_sms] => 856
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 2992
    [user_failed_sms] => 2992
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1118
    [user_no_answer_sms] => 1118
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764509258
    [create_date] => 1764509258
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509412,"compaign_read_start_time":1764509413,"compaign_read_complete_time":1764509446,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509523}
    [action_time] => {"api_allot_time":1764509412,"compaign_read_start_time":1764509413,"compaign_read_complete_time":1764509446,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509523}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78957_30112025_065802PM_411
    [common_name] => u20720_78957_30112025_065802PM_411
    [52] => 1764509258_u20720_voice.wav
    [voice_file] => 1764509258_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66533
    [temp_group_table] => contacts_temp_group_66533
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509703
    [last_credit_update_time] => 1764509703
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78957
\compaign_type : Rans per 27.97858 
ans sms 14153
dnd sms 3344

require answer perrequire answer per : 3025

user answer per : 27
below is the redis data 2998 UPDATE voice_compaign_detail_78957 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2998 Total Failed : 2814 no_answer_count : 939 Busy count :723 congestion_count : 335 failed_count : 817UPDATE voice_compaign_detail_78957 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 939 UPDATE voice_compaign_detail_78957 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 723 UPDATE voice_compaign_detail_78957 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 335 UPDATE voice_compaign_detail_78957 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 817 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3025', `user_busy_sms`='1579', `user_congestion_sms`='339', `user_failed_sms`='3809', `user_hangup_sms`='0', `user_no_answer_sms`='2057', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78957 LIMIT 1 


Time Diff : 0.019

Array
(
    [0] => 78951
    [compaign_id] => 78951
    [1] => r54
    [user_id] => r54
    [2] => 66526,
    [group_ids] => 66526,
    [3] => 
    [sender_id] => 
    [4] => Shubham final.mp3
    [filename] => Shubham final.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509400
    [start_date] => 1764509400
    [9] => 0
    [end_date] => 0
    [10] => 535
    [total_sms] => 535
    [11] => 535
    [sent_sms] => 535
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 67
    [failed_sms] => 67
    [17] => 0
    [hangup_sms] => 0
    [18] => 48
    [no_answer_sms] => 48
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 147
    [cutting_sms] => 147
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 67
    [user_failed_sms] => 67
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764508096
    [create_date] => 1764508096
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509407,"compaign_read_start_time":1764509407,"compaign_read_complete_time":1764509408,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509463}
    [action_time] => {"api_allot_time":1764509407,"compaign_read_start_time":1764509407,"compaign_read_complete_time":1764509408,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509463}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78951_30112025_070005PM_825
    [common_name] => r54_78951_30112025_070005PM_825
    [52] => 1764508096_r54_voice.wav
    [voice_file] => 1764508096_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66526
    [temp_group_table] => contacts_temp_group_66526
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1764509702
    [reschedule_last_check_time] => 1764509702
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509703
    [last_credit_update_time] => 1764509703
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764510300,"2":1764511200}
    [rt_time] => {"1":1764510300,"2":1764511200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78951
\compaign_type : Rans per 26.02926 
ans sms 535
dnd sms 162

require answer perrequire answer per : 98

user answer per : 66
below is the redis data 32 /n/r
only no answer and busy will be convert, total number require 32 /n/r
UPDATE voice_compaign_detail_78951 SET user_report='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_78951 SET user_report='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 : 118 no_answer_count : 40 Busy count :31 congestion_count : 15 failed_count : 32UPDATE voice_compaign_detail_78951 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_78951 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_78951 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78951 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='98', `user_busy_sms`='83', `user_congestion_sms`='15', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='99', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78951 LIMIT 1 


Time Diff : 0.508

Array
(
    [0] => 78956
    [compaign_id] => 78956
    [1] => r54
    [user_id] => r54
    [2] => 66532,
    [group_ids] => 66532,
    [3] => 
    [sender_id] => 
    [4] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [filename] => अंबिका पांडुरंग सूर्यवंशी .mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509400
    [start_date] => 1764509400
    [9] => 0
    [end_date] => 0
    [10] => 364
    [total_sms] => 364
    [11] => 364
    [sent_sms] => 364
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764509223
    [create_date] => 1764509223
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509407,"compaign_read_start_time":1764509410,"compaign_read_complete_time":1764509412,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509463}
    [action_time] => {"api_allot_time":1764509407,"compaign_read_start_time":1764509410,"compaign_read_complete_time":1764509412,"compaign_send_start_time":1764509462,"compaign_send_complete_time":1764509463}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78956_30112025_070005PM_558
    [common_name] => r54_78956_30112025_070005PM_558
    [52] => 1764507867_r54_voice.wav
    [voice_file] => 1764507867_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66532
    [temp_group_table] => contacts_temp_group_66532
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509703
    [last_credit_update_time] => 1764509703
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78956
\compaign_type : Rans per 30.15929 
ans sms 364
dnd sms 162

require answer perrequire answer per : 61

user answer per : 23
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_78956 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_78956 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 Total Failed : 42 no_answer_count : 15 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_78956 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_78956 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_78956 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_78956 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`='61', `user_busy_sms`='48', `user_congestion_sms`='5', `user_failed_sms`='35', `user_hangup_sms`='0', `user_no_answer_sms`='53', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78956 LIMIT 1 


Time Diff : 0.747

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250622'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.64967 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509763
    [last_credit_update_time] => 1764509763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.58804 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15174

user answer per : 177
below is the redis data 14997 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14997 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509764
    [last_credit_update_time] => 1764509764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.91923 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.81987 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509763
    [last_credit_update_time] => 1764509763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.55862 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16258

user answer per : 177
below is the redis data 16081 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16081 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509764
    [last_credit_update_time] => 1764509764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.95056 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.34733 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509763
    [last_credit_update_time] => 1764509763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.36652 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15602

user answer per : 177
below is the redis data 15425 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15425 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509764
    [last_credit_update_time] => 1764509764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.00712 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250803'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.88743 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509763
    [last_credit_update_time] => 1764509763
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.67391 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16871

user answer per : 177
below is the redis data 16694 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16694 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 153
    [credit_seq] => 153
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509764
    [last_credit_update_time] => 1764509764
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.57881 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78958
    [compaign_id] => 78958
    [1] => u29673
    [user_id] => u29673
    [2] => 66534,
    [group_ids] => 66534,
    [3] => 
    [sender_id] => 
    [4] => alhat1.mp3
    [filename] => alhat1.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509523
    [start_date] => 1764509523
    [9] => 0
    [end_date] => 0
    [10] => 237
    [total_sms] => 237
    [11] => 237
    [sent_sms] => 237
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 7
    [no_answer_sms] => 7
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764509523
    [create_date] => 1764509523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509658,"compaign_read_start_time":1764509660,"compaign_read_complete_time":1764509661,"compaign_send_start_time":1764509701,"compaign_send_complete_time":1764509710}
    [action_time] => {"api_allot_time":1764509658,"compaign_read_start_time":1764509660,"compaign_read_complete_time":1764509661,"compaign_send_start_time":1764509701,"compaign_send_complete_time":1764509710}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78958_30112025_070208PM_888
    [common_name] => u29673_78958_30112025_070208PM_888
    [52] => 1764305626_u29673_voice.wav
    [voice_file] => 1764305626_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66534
    [temp_group_table] => contacts_temp_group_66534
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764509942
    [last_credit_update_time] => 1764509942
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78958
\compaign_type : Rans per 26.34952 
ans sms 237
dnd sms 185

require answer perrequire answer per : 14

user answer per : 0
below is the redis data 14 UPDATE voice_compaign_detail_78958 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`='3', `user_busy_sms`='24', `user_congestion_sms`='0', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='7', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78958 LIMIT 1 


Time Diff : 0.532

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250862'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.8069 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.61041 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14086

user answer per : 177
below is the redis data 13909 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13909 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.28352 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764250922'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.96618 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.04657 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16526

user answer per : 177
below is the redis data 16349 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16349 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.53348 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78959
    [compaign_id] => 78959
    [1] => u29684
    [user_id] => u29684
    [2] => 66542,
    [group_ids] => 66542,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509576
    [start_date] => 1764509576
    [9] => 0
    [end_date] => 0
    [10] => 7532
    [total_sms] => 7532
    [11] => 7532
    [sent_sms] => 7532
    [12] => 0
    [duplicate_sms] => 0
    [13] => 550
    [answered_sms] => 550
    [14] => 1165
    [busy_sms] => 1165
    [15] => 5
    [congestion_sms] => 5
    [16] => 868
    [failed_sms] => 868
    [17] => 0
    [hangup_sms] => 0
    [18] => 552
    [no_answer_sms] => 552
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3040
    [cutting_sms] => 3040
    [22] => 1352
    [dnd_sms] => 1352
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 550
    [user_answered_sms] => 550
    [27] => 1165
    [user_busy_sms] => 1165
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 868
    [user_failed_sms] => 868
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 552
    [user_no_answer_sms] => 552
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1352
    [user_dnd_sms] => 1352
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764509576
    [create_date] => 1764509576
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509582,"compaign_read_start_time":1764509584,"compaign_read_complete_time":1764509628,"compaign_send_start_time":1764509642,"compaign_send_complete_time":1764509683}
    [action_time] => {"api_allot_time":1764509582,"compaign_read_start_time":1764509584,"compaign_read_complete_time":1764509628,"compaign_send_start_time":1764509642,"compaign_send_complete_time":1764509683}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78959_30112025_070301PM_326
    [common_name] => u29684_78959_30112025_070301PM_326
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66542
    [temp_group_table] => contacts_temp_group_66542
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764510063
    [last_credit_update_time] => 1764510063
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78959
\compaign_type : Rans per 27.82133 
ans sms 7532
dnd sms 1352

require answer perrequire answer per : 1720

user answer per : 550
below is the redis data 1170 UPDATE voice_compaign_detail_78959 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1170 Total Failed : 1874 no_answer_count : 625 Busy count :481 congestion_count : 223 failed_count : 545UPDATE voice_compaign_detail_78959 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 625 UPDATE voice_compaign_detail_78959 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 481 UPDATE voice_compaign_detail_78959 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 223 UPDATE voice_compaign_detail_78959 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 545 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1720', `user_busy_sms`='1646', `user_congestion_sms`='224', `user_failed_sms`='1413', `user_hangup_sms`='0', `user_no_answer_sms`='1177', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1352' WHERE `compaign_id`=78959 LIMIT 1 


Time Diff : 0.06

Array
(
    [0] => 78960
    [compaign_id] => 78960
    [1] => u29684
    [user_id] => u29684
    [2] => 66539,
    [group_ids] => 66539,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509577
    [start_date] => 1764509577
    [9] => 0
    [end_date] => 0
    [10] => 7657
    [total_sms] => 7657
    [11] => 7657
    [sent_sms] => 7657
    [12] => 0
    [duplicate_sms] => 0
    [13] => 582
    [answered_sms] => 582
    [14] => 902
    [busy_sms] => 902
    [15] => 6
    [congestion_sms] => 6
    [16] => 641
    [failed_sms] => 641
    [17] => 0
    [hangup_sms] => 0
    [18] => 519
    [no_answer_sms] => 519
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3002
    [cutting_sms] => 3002
    [22] => 2005
    [dnd_sms] => 2005
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 582
    [user_answered_sms] => 582
    [27] => 902
    [user_busy_sms] => 902
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 641
    [user_failed_sms] => 641
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 519
    [user_no_answer_sms] => 519
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2005
    [user_dnd_sms] => 2005
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764509577
    [create_date] => 1764509577
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509585,"compaign_read_start_time":1764509587,"compaign_read_complete_time":1764509640,"compaign_send_start_time":1764509642,"compaign_send_complete_time":1764509679}
    [action_time] => {"api_allot_time":1764509585,"compaign_read_start_time":1764509587,"compaign_read_complete_time":1764509640,"compaign_send_start_time":1764509642,"compaign_send_complete_time":1764509679}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78960_30112025_070303PM_214
    [common_name] => u29684_78960_30112025_070303PM_214
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66539
    [temp_group_table] => contacts_temp_group_66539
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764510063
    [last_credit_update_time] => 1764510063
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78960
\compaign_type : Rans per 26.262 
ans sms 7657
dnd sms 2005

require answer perrequire answer per : 1485

user answer per : 582
below is the redis data 903 UPDATE voice_compaign_detail_78960 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 903 Total Failed : 2099 no_answer_count : 700 Busy count :539 congestion_count : 250 failed_count : 610UPDATE voice_compaign_detail_78960 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 700 UPDATE voice_compaign_detail_78960 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 539 UPDATE voice_compaign_detail_78960 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 250 UPDATE voice_compaign_detail_78960 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 610 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1485', `user_busy_sms`='1441', `user_congestion_sms`='256', `user_failed_sms`='1251', `user_hangup_sms`='0', `user_no_answer_sms`='1219', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2005' WHERE `compaign_id`=78960 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>'1764250982'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.50796 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.70017 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16886

user answer per : 177
below is the redis data 16709 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16709 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.65347 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251041'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.52755 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.78564 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15283

user answer per : 177
below is the redis data 15106 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15106 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 154
    [credit_seq] => 154
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510006
    [last_credit_update_time] => 1764510006
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.9865 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78961
    [compaign_id] => 78961
    [1] => u29684
    [user_id] => u29684
    [2] => 66540,
    [group_ids] => 66540,
    [3] => 
    [sender_id] => 
    [4] => Audio1 (2).mp3
    [filename] => Audio1 (2).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764509579
    [start_date] => 1764509579
    [9] => 0
    [end_date] => 0
    [10] => 8041
    [total_sms] => 8041
    [11] => 8041
    [sent_sms] => 8041
    [12] => 0
    [duplicate_sms] => 0
    [13] => 600
    [answered_sms] => 600
    [14] => 862
    [busy_sms] => 862
    [15] => 6
    [congestion_sms] => 6
    [16] => 693
    [failed_sms] => 693
    [17] => 0
    [hangup_sms] => 0
    [18] => 590
    [no_answer_sms] => 590
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2579
    [cutting_sms] => 2579
    [22] => 2711
    [dnd_sms] => 2711
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 600
    [user_answered_sms] => 600
    [27] => 862
    [user_busy_sms] => 862
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 693
    [user_failed_sms] => 693
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 590
    [user_no_answer_sms] => 590
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2711
    [user_dnd_sms] => 2711
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29684
    [created_by] => u29684
    [38] => 0
    [isScheduled] => 0
    [39] => 1764509579
    [create_date] => 1764509579
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764509587,"compaign_read_start_time":1764509590,"compaign_read_complete_time":1764509653,"compaign_send_start_time":1764509701,"compaign_send_complete_time":1764509721}
    [action_time] => {"api_allot_time":1764509587,"compaign_read_start_time":1764509590,"compaign_read_complete_time":1764509653,"compaign_send_start_time":1764509701,"compaign_send_complete_time":1764509721}
    [50] => 0
    [compaign_file] => 0
    [51] => u29684_78961_30112025_070305PM_599
    [common_name] => u29684_78961_30112025_070305PM_599
    [52] => 1764408853_u29684_voice.wav
    [voice_file] => 1764408853_u29684_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66540
    [temp_group_table] => contacts_temp_group_66540
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764510182
    [last_credit_update_time] => 1764510182
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1891
    [user_voice_plan_id] => 1891
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29684
    [uphierarchy] => admin,sr1,u29684
    [113] => 
    [extra_params_json] => 
)


Compaign : 78961
\compaign_type : Rans per 25.03621 
ans sms 8041
dnd sms 2711

require answer perrequire answer per : 1335

user answer per : 600
below is the redis data 735 UPDATE voice_compaign_detail_78961 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 735 Total Failed : 1845 no_answer_count : 616 Busy count :474 congestion_count : 220 failed_count : 535UPDATE voice_compaign_detail_78961 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 616 UPDATE voice_compaign_detail_78961 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 474 UPDATE voice_compaign_detail_78961 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 220 UPDATE voice_compaign_detail_78961 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 535 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1335', `user_busy_sms`='1336', `user_congestion_sms`='225', `user_failed_sms`='1228', `user_hangup_sms`='0', `user_no_answer_sms`='1206', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2711' WHERE `compaign_id`=78961 LIMIT 1 


Time Diff : 0.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>'1764251101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.26014 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.8235 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14203

user answer per : 177
below is the redis data 14026 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14026 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 38991
    [total_sms] => 38991
    [11] => 38991
    [sent_sms] => 38991
    [12] => 0
    [duplicate_sms] => 0
    [13] => 63
    [answered_sms] => 63
    [14] => 14566
    [busy_sms] => 14566
    [15] => 23
    [congestion_sms] => 23
    [16] => 22795
    [failed_sms] => 22795
    [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] => 80
    [user_answered_sms] => 80
    [27] => 14566
    [user_busy_sms] => 14566
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 22795
    [user_failed_sms] => 22795
    [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] => 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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.75877 
ans sms 38991
dnd sms 0

require answer perrequire answer per : 10434

user answer per : 80
below is the redis data 10354 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10354 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='86', `user_busy_sms`='14566', `user_congestion_sms`='0', `user_failed_sms`='22795', `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`=78568 LIMIT 1 


Time Diff : 0.264

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.59854 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.00646 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.22515 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16624

user answer per : 177
below is the redis data 16447 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16447 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.92064 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251221'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.35087 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.51947 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14586

user answer per : 177
below is the redis data 14409 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14409 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.97559 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251282'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.37799 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.74916 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16913

user answer per : 177
below is the redis data 16736 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16736 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764510247
    [last_credit_update_time] => 1764510247
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.34448 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.37362 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.51755 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15135

user answer per : 177
below is the redis data 14958 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14958 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.83371 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.43005 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.70551 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14689

user answer per : 177
below is the redis data 14512 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14512 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.97513 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78965
    [compaign_id] => 78965
    [1] => r54
    [user_id] => r54
    [2] => 66546,
    [group_ids] => 66546,
    [3] => 
    [sender_id] => 
    [4] => Shubham final.mp3
    [filename] => Shubham final.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764510300
    [start_date] => 1764510300
    [9] => 0
    [end_date] => 0
    [10] => 437
    [total_sms] => 437
    [11] => 437
    [sent_sms] => 437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 119
    [cutting_sms] => 119
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764510124
    [create_date] => 1764510124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764510307,"compaign_read_start_time":1764510310,"compaign_read_complete_time":1764510311,"compaign_send_start_time":1764510362,"compaign_send_complete_time":1764510363}
    [action_time] => {"api_allot_time":1764510307,"compaign_read_start_time":1764510310,"compaign_read_complete_time":1764510311,"compaign_send_start_time":1764510362,"compaign_send_complete_time":1764510363}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78965_30112025_071506PM_627
    [common_name] => r54_78965_30112025_071506PM_627
    [52] => 1764508096_r54_voice.wav
    [voice_file] => 1764508096_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66546
    [temp_group_table] => contacts_temp_group_66546
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510602
    [last_credit_update_time] => 1764510602
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78965
\compaign_type : Rans per 28.5132 
ans sms 437
dnd sms 162

require answer perrequire answer per : 79

user answer per : 42
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_78965 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_78965 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 77 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 21UPDATE voice_compaign_detail_78965 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_78965 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78965 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_78965 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`='79', `user_busy_sms`='58', `user_congestion_sms`='10', `user_failed_sms`='52', `user_hangup_sms`='0', `user_no_answer_sms`='76', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78965 LIMIT 1 


Time Diff : 0.471

Array
(
    [0] => 78966
    [compaign_id] => 78966
    [1] => u20720
    [user_id] => u20720
    [2] => 66547,
    [group_ids] => 66547,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764510306
    [start_date] => 1764510306
    [9] => 0
    [end_date] => 0
    [10] => 11129
    [total_sms] => 11129
    [11] => 11129
    [sent_sms] => 11129
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1102
    [answered_sms] => 1102
    [14] => 704
    [busy_sms] => 704
    [15] => 5
    [congestion_sms] => 5
    [16] => 1333
    [failed_sms] => 1333
    [17] => 0
    [hangup_sms] => 0
    [18] => 861
    [no_answer_sms] => 861
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3780
    [cutting_sms] => 3780
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1102
    [user_answered_sms] => 1102
    [27] => 704
    [user_busy_sms] => 704
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 1333
    [user_failed_sms] => 1333
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 861
    [user_no_answer_sms] => 861
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764510301
    [create_date] => 1764510301
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764510313,"compaign_read_start_time":1764510313,"compaign_read_complete_time":1764510336,"compaign_send_start_time":1764510362,"compaign_send_complete_time":1764510391}
    [action_time] => {"api_allot_time":1764510313,"compaign_read_start_time":1764510313,"compaign_read_complete_time":1764510336,"compaign_send_start_time":1764510362,"compaign_send_complete_time":1764510391}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78966_30112025_071512PM_654
    [common_name] => u20720_78966_30112025_071512PM_654
    [52] => 1764510301_u20720_voice.wav
    [voice_file] => 1764510301_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66547
    [temp_group_table] => contacts_temp_group_66547
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510602
    [last_credit_update_time] => 1764510602
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78966
\compaign_type : Rans per 29.22793 
ans sms 11129
dnd sms 3344

require answer perrequire answer per : 2276

user answer per : 1102
below is the redis data 1174 UPDATE voice_compaign_detail_78966 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1174 Total Failed : 2608 no_answer_count : 870 Busy count :670 congestion_count : 310 failed_count : 758UPDATE voice_compaign_detail_78966 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 870 UPDATE voice_compaign_detail_78966 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 670 UPDATE voice_compaign_detail_78966 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 310 UPDATE voice_compaign_detail_78966 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 758 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2276', `user_busy_sms`='1374', `user_congestion_sms`='313', `user_failed_sms`='2091', `user_hangup_sms`='0', `user_no_answer_sms`='1731', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78966 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>'1764251461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.63963 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.65985 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16313

user answer per : 177
below is the redis data 16136 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16136 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.67349 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.46882 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.67792 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14673

user answer per : 177
below is the redis data 14496 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14496 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 156
    [credit_seq] => 156
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510483
    [last_credit_update_time] => 1764510483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.29856 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251582'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.6609 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.45566 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16201

user answer per : 177
below is the redis data 16024 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16024 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 40792
    [total_sms] => 40792
    [11] => 40792
    [sent_sms] => 40792
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 15259
    [busy_sms] => 15259
    [15] => 23
    [congestion_sms] => 23
    [16] => 23833
    [failed_sms] => 23833
    [17] => 0
    [hangup_sms] => 0
    [18] => 1611
    [no_answer_sms] => 1611
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 89
    [user_answered_sms] => 89
    [27] => 15259
    [user_busy_sms] => 15259
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23833
    [user_failed_sms] => 23833
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1611
    [user_no_answer_sms] => 1611
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.10661 
ans sms 40792
dnd sms 0

require answer perrequire answer per : 10242

user answer per : 89
below is the redis data 10153 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10153 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='89', `user_busy_sms`='15259', `user_congestion_sms`='0', `user_failed_sms`='23833', `user_hangup_sms`='0', `user_no_answer_sms`='1611', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.264

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.56671 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.32893 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.38985 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16715

user answer per : 177
below is the redis data 16538 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16538 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07364 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.11578 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.51229 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16782

user answer per : 177
below is the redis data 16605 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16605 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.70196 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251762'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.6236 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.27733 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14453

user answer per : 177
below is the redis data 14276 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14276 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510726
    [last_credit_update_time] => 1764510726
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.98623 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.76699 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.97658 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14838

user answer per : 177
below is the redis data 14661 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14661 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.54274 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.31642 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.29355 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13912

user answer per : 177
below is the redis data 13735 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13735 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.88781 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764251942'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.06284 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.78137 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15280

user answer per : 177
below is the redis data 15103 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15103 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.89632 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252002'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.07754 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.10873 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14360

user answer per : 177
below is the redis data 14183 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14183 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 158
    [credit_seq] => 158
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764510963
    [last_credit_update_time] => 1764510963
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.96066 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252061'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.46084 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.85255 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16969

user answer per : 177
below is the redis data 16792 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16792 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.22175 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78968
    [compaign_id] => 78968
    [1] => u20720
    [user_id] => u20720
    [2] => 66548,
    [group_ids] => 66548,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764510904
    [start_date] => 1764510904
    [9] => 0
    [end_date] => 0
    [10] => 8853
    [total_sms] => 8853
    [11] => 8853
    [sent_sms] => 8853
    [12] => 0
    [duplicate_sms] => 0
    [13] => 517
    [answered_sms] => 517
    [14] => 542
    [busy_sms] => 542
    [15] => 4
    [congestion_sms] => 4
    [16] => 1002
    [failed_sms] => 1002
    [17] => 0
    [hangup_sms] => 0
    [18] => 499
    [no_answer_sms] => 499
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2945
    [cutting_sms] => 2945
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 517
    [user_answered_sms] => 517
    [27] => 542
    [user_busy_sms] => 542
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 1002
    [user_failed_sms] => 1002
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 499
    [user_no_answer_sms] => 499
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764510899
    [create_date] => 1764510899
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764510911,"compaign_read_start_time":1764510914,"compaign_read_complete_time":1764510935,"compaign_send_start_time":1764510963,"compaign_send_complete_time":1764510975}
    [action_time] => {"api_allot_time":1764510911,"compaign_read_start_time":1764510914,"compaign_read_complete_time":1764510935,"compaign_send_start_time":1764510963,"compaign_send_complete_time":1764510975}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78968_30112025_072510PM_839
    [common_name] => u20720_78968_30112025_072510PM_839
    [52] => 1764510899_u20720_voice.wav
    [voice_file] => 1764510899_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66548
    [temp_group_table] => contacts_temp_group_66548
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511202
    [last_credit_update_time] => 1764511202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78968
\compaign_type : Rans per 28.61278 
ans sms 8853
dnd sms 3344

require answer perrequire answer per : 1577

user answer per : 517
below is the redis data 1060 UPDATE voice_compaign_detail_78968 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1060 Total Failed : 1886 no_answer_count : 629 Busy count :484 congestion_count : 224 failed_count : 549UPDATE voice_compaign_detail_78968 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 629 UPDATE voice_compaign_detail_78968 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 484 UPDATE voice_compaign_detail_78968 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 224 UPDATE voice_compaign_detail_78968 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 549 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1577', `user_busy_sms`='1026', `user_congestion_sms`='227', `user_failed_sms`='1551', `user_hangup_sms`='0', `user_no_answer_sms`='1128', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78968 LIMIT 1 


Time Diff : 0.03

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252122'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.43588 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.88128 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14235

user answer per : 177
below is the redis data 14058 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14058 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.90377 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.70045 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.14926 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15483

user answer per : 177
below is the redis data 15306 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15306 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.12177 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.61093 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.05412 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14880

user answer per : 177
below is the redis data 14703 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14703 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 159
    [credit_seq] => 159
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511203
    [last_credit_update_time] => 1764511203
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.06446 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252301'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.81349 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.96459 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14831

user answer per : 177
below is the redis data 14654 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14654 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.60281 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.76224 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.28653 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16658

user answer per : 177
below is the redis data 16481 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16481 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.24641 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78969
    [compaign_id] => 78969
    [1] => r54
    [user_id] => r54
    [2] => 66549,
    [group_ids] => 66549,
    [3] => 
    [sender_id] => 
    [4] => Shubham final.mp3
    [filename] => Shubham final.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764511200
    [start_date] => 1764511200
    [9] => 0
    [end_date] => 0
    [10] => 358
    [total_sms] => 358
    [11] => 358
    [sent_sms] => 358
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 79
    [cutting_sms] => 79
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [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] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r54
    [created_by] => r54
    [38] => 1
    [isScheduled] => 1
    [39] => 1764511029
    [create_date] => 1764511029
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764511207,"compaign_read_start_time":1764511208,"compaign_read_complete_time":1764511208,"compaign_send_start_time":1764511263,"compaign_send_complete_time":1764511269}
    [action_time] => {"api_allot_time":1764511207,"compaign_read_start_time":1764511208,"compaign_read_complete_time":1764511208,"compaign_send_start_time":1764511263,"compaign_send_complete_time":1764511269}
    [50] => 0
    [compaign_file] => 0
    [51] => r54_78969_30112025_073006PM_187
    [common_name] => r54_78969_30112025_073006PM_187
    [52] => 1764508096_r54_voice.wav
    [voice_file] => 1764508096_r54_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_66549
    [temp_group_table] => contacts_temp_group_66549
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511502
    [last_credit_update_time] => 1764511502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 709
    [user_voice_plan_id] => 709
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr173,r54
    [uphierarchy] => admin,sr173,r54
    [113] => 
    [extra_params_json] => 
)


Compaign : 78969
\compaign_type : Rans per 30.59476 
ans sms 358
dnd sms 162

require answer perrequire answer per : 60

user answer per : 23
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_78969 SET user_report='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_78969 SET user_report='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 : 45 no_answer_count : 16 Busy count :12 congestion_count : 6 failed_count : 11UPDATE voice_compaign_detail_78969 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_78969 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_78969 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_78969 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`='60', `user_busy_sms`='47', `user_congestion_sms`='6', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='51', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=78969 LIMIT 1 


Time Diff : 0.763

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252421'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.20455 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.98782 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15394

user answer per : 177
below is the redis data 15217 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15217 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.88789 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78970
    [compaign_id] => 78970
    [1] => u29401
    [user_id] => u29401
    [2] => 66550,
    [group_ids] => 66550,
    [3] => 
    [sender_id] => 
    [4] => bhaiya mama.mp3
    [filename] => bhaiya mama.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764511266
    [start_date] => 1764511266
    [9] => 0
    [end_date] => 0
    [10] => 554
    [total_sms] => 554
    [11] => 554
    [sent_sms] => 554
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 111
    [failed_sms] => 111
    [17] => 0
    [hangup_sms] => 0
    [18] => 79
    [no_answer_sms] => 79
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 224
    [cutting_sms] => 224
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 95
    [user_answered_sms] => 95
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 111
    [user_failed_sms] => 111
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 79
    [user_no_answer_sms] => 79
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764511266
    [create_date] => 1764511266
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764511273,"compaign_read_start_time":1764511273,"compaign_read_complete_time":1764511274,"compaign_send_start_time":1764511323,"compaign_send_complete_time":1764511324}
    [action_time] => {"api_allot_time":1764511273,"compaign_read_start_time":1764511273,"compaign_read_complete_time":1764511274,"compaign_send_start_time":1764511323,"compaign_send_complete_time":1764511324}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78970_30112025_073112PM_390
    [common_name] => u29401_78970_30112025_073112PM_390
    [52] => 1764504443_u29401_voice.wav
    [voice_file] => 1764504443_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66550
    [temp_group_table] => contacts_temp_group_66550
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511562
    [last_credit_update_time] => 1764511562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr27,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78970
\compaign_type : Rans per 27.58989 
ans sms 554
dnd sms 0

require answer perrequire answer per : 153

user answer per : 95
below is the redis data 58 UPDATE voice_compaign_detail_78970 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 58 Total Failed : 166 no_answer_count : 56 Busy count :43 congestion_count : 20 failed_count : 47UPDATE voice_compaign_detail_78970 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_78970 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_78970 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78970 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`='153', `user_busy_sms`='88', `user_congestion_sms`='20', `user_failed_sms`='158', `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`=78970 LIMIT 1 


Time Diff : 0.48

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.51841 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.27991 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13904

user answer per : 177
below is the redis data 13727 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13727 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 160
    [credit_seq] => 160
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511443
    [last_credit_update_time] => 1764511443
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.95079 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.60434 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.72385 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15799

user answer per : 177
below is the redis data 15622 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15622 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.69354 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252604'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.75119 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.48946 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16770

user answer per : 177
below is the redis data 16593 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16593 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.99634 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78972
    [compaign_id] => 78972
    [1] => u29401
    [user_id] => u29401
    [2] => 66552,
    [group_ids] => 66552,
    [3] => 
    [sender_id] => 
    [4] => gangapur 0001.mp3
    [filename] => gangapur 0001.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764511428
    [start_date] => 1764511428
    [9] => 0
    [end_date] => 0
    [10] => 487
    [total_sms] => 487
    [11] => 487
    [sent_sms] => 487
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 136
    [failed_sms] => 136
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 193
    [cutting_sms] => 193
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 136
    [user_failed_sms] => 136
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 65
    [user_no_answer_sms] => 65
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29401
    [created_by] => u29401
    [38] => 0
    [isScheduled] => 0
    [39] => 1764511427
    [create_date] => 1764511427
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764511443,"compaign_read_start_time":1764511445,"compaign_read_complete_time":1764511445,"compaign_send_start_time":1764511502,"compaign_send_complete_time":1764511506}
    [action_time] => {"api_allot_time":1764511443,"compaign_read_start_time":1764511445,"compaign_read_complete_time":1764511445,"compaign_send_start_time":1764511502,"compaign_send_complete_time":1764511506}
    [50] => 0
    [compaign_file] => 0
    [51] => u29401_78972_30112025_073402PM_443
    [common_name] => u29401_78972_30112025_073402PM_443
    [52] => 1764502528_u29401_voice.wav
    [voice_file] => 1764502528_u29401_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66552
    [temp_group_table] => contacts_temp_group_66552
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511741
    [last_credit_update_time] => 1764511741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1805
    [user_voice_plan_id] => 1805
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.24
    [pulse_rate] => 0.24
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr27,sr241,u29401
    [uphierarchy] => admin,sr27,sr241,u29401
    [113] => 
    [extra_params_json] => 
)


Compaign : 78972
\compaign_type : Rans per 28.71398 
ans sms 487
dnd sms 0

require answer perrequire answer per : 140

user answer per : 60
below is the redis data 80 UPDATE voice_compaign_detail_78972 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 80 Total Failed : 113 no_answer_count : 38 Busy count :29 congestion_count : 14 failed_count : 32UPDATE voice_compaign_detail_78972 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_78972 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_78972 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_78972 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='140', `user_busy_sms`='62', `user_congestion_sms`='14', `user_failed_sms`='168', `user_hangup_sms`='0', `user_no_answer_sms`='103', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78972 LIMIT 1 


Time Diff : 0.569

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.2744 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.24263 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14434

user answer per : 177
below is the redis data 14257 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14257 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 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] => 1764511682
    [last_credit_update_time] => 1764511682
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.79468 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78971
    [compaign_id] => 78971
    [1] => u20720
    [user_id] => u20720
    [2] => 66551,
    [group_ids] => 66551,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764511414
    [start_date] => 1764511414
    [9] => 0
    [end_date] => 0
    [10] => 7276
    [total_sms] => 7276
    [11] => 7276
    [sent_sms] => 7276
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 439
    [busy_sms] => 439
    [15] => 0
    [congestion_sms] => 0
    [16] => 1092
    [failed_sms] => 1092
    [17] => 0
    [hangup_sms] => 0
    [18] => 383
    [no_answer_sms] => 383
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2012
    [cutting_sms] => 2012
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 439
    [user_busy_sms] => 439
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1092
    [user_failed_sms] => 1092
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 383
    [user_no_answer_sms] => 383
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764511410
    [create_date] => 1764511410
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764511550,"compaign_read_start_time":1764511562,"compaign_read_complete_time":1764511582,"compaign_send_start_time":1764511623,"compaign_send_complete_time":1764511632}
    [action_time] => {"api_allot_time":1764511550,"compaign_read_start_time":1764511562,"compaign_read_complete_time":1764511582,"compaign_send_start_time":1764511623,"compaign_send_complete_time":1764511632}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78971_30112025_073340PM_549
    [common_name] => u20720_78971_30112025_073340PM_549
    [52] => 1764511410_u20720_voice.wav
    [voice_file] => 1764511410_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66551
    [temp_group_table] => contacts_temp_group_66551
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511804
    [last_credit_update_time] => 1764511804
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78971
\compaign_type : Rans per 26.08763 
ans sms 7276
dnd sms 3344

require answer perrequire answer per : 1026

user answer per : 6
below is the redis data 1020 UPDATE voice_compaign_detail_78971 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1020 Total Failed : 992 no_answer_count : 331 Busy count :255 congestion_count : 118 failed_count : 288UPDATE voice_compaign_detail_78971 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 331 UPDATE voice_compaign_detail_78971 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 255 UPDATE voice_compaign_detail_78971 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_78971 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`='1026', `user_busy_sms`='694', `user_congestion_sms`='118', `user_failed_sms`='1380', `user_hangup_sms`='0', `user_no_answer_sms`='714', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78971 LIMIT 1 


Time Diff : 0.028

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.66219 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.21462 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16619

user answer per : 177
below is the redis data 16442 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16442 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.92274 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.63165 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.08509 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14897

user answer per : 177
below is the redis data 14720 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14720 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.96755 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252843'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.13681 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.05297 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16530

user answer per : 177
below is the redis data 16353 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16353 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07583 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.48544 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.61135 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16837

user answer per : 177
below is the redis data 16660 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16660 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 162
    [credit_seq] => 162
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764511864
    [last_credit_update_time] => 1764511864
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.46066 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764252962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.40598 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512102
    [last_credit_update_time] => 1764512102
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.9241 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15359

user answer per : 177
below is the redis data 15182 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15182 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512103
    [last_credit_update_time] => 1764512103
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.67197 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.0558 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512102
    [last_credit_update_time] => 1764512102
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48229 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14566

user answer per : 177
below is the redis data 14389 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14389 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512103
    [last_credit_update_time] => 1764512103
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.1671 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253082'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.03394 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512102
    [last_credit_update_time] => 1764512102
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.71518 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15794

user answer per : 177
below is the redis data 15617 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15617 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512103
    [last_credit_update_time] => 1764512103
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.38262 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.80561 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512102
    [last_credit_update_time] => 1764512102
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.84329 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15864

user answer per : 177
below is the redis data 15687 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15687 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 163
    [credit_seq] => 163
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512103
    [last_credit_update_time] => 1764512103
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.46038 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78975
    [compaign_id] => 78975
    [1] => u20720
    [user_id] => u20720
    [2] => 66553,
    [group_ids] => 66553,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764511982
    [start_date] => 1764511982
    [9] => 0
    [end_date] => 0
    [10] => 6250
    [total_sms] => 6250
    [11] => 6250
    [sent_sms] => 6250
    [12] => 0
    [duplicate_sms] => 0
    [13] => 228
    [answered_sms] => 228
    [14] => 335
    [busy_sms] => 335
    [15] => 1
    [congestion_sms] => 1
    [16] => 692
    [failed_sms] => 692
    [17] => 0
    [hangup_sms] => 0
    [18] => 283
    [no_answer_sms] => 283
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1367
    [cutting_sms] => 1367
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 228
    [user_answered_sms] => 228
    [27] => 335
    [user_busy_sms] => 335
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 692
    [user_failed_sms] => 692
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 283
    [user_no_answer_sms] => 283
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764511979
    [create_date] => 1764511979
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764511990,"compaign_read_start_time":1764511991,"compaign_read_complete_time":1764512004,"compaign_send_start_time":1764512044,"compaign_send_complete_time":1764512059}
    [action_time] => {"api_allot_time":1764511990,"compaign_read_start_time":1764511991,"compaign_read_complete_time":1764512004,"compaign_send_start_time":1764512044,"compaign_send_complete_time":1764512059}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78975_30112025_074308PM_707
    [common_name] => u20720_78975_30112025_074308PM_707
    [52] => 1764511979_u20720_voice.wav
    [voice_file] => 1764511979_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66553
    [temp_group_table] => contacts_temp_group_66553
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512282
    [last_credit_update_time] => 1764512282
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78975
\compaign_type : Rans per 27.56917 
ans sms 6250
dnd sms 3344

require answer perrequire answer per : 802

user answer per : 228
below is the redis data 574 UPDATE voice_compaign_detail_78975 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 574 Total Failed : 793 no_answer_count : 265 Busy count :204 congestion_count : 95 failed_count : 229UPDATE voice_compaign_detail_78975 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 265 UPDATE voice_compaign_detail_78975 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 204 UPDATE voice_compaign_detail_78975 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 UPDATE voice_compaign_detail_78975 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 229 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='802', `user_busy_sms`='539', `user_congestion_sms`='96', `user_failed_sms`='921', `user_hangup_sms`='0', `user_no_answer_sms`='548', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78975 LIMIT 1 


Time Diff : 0.042

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253203'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.96761 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.47945 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16764

user answer per : 177
below is the redis data 16587 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16587 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.50883 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253262'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.15902 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.73827 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16357

user answer per : 177
below is the redis data 16180 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16180 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.63563 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253321'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.07258 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.92634 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17010

user answer per : 177
below is the redis data 16833 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16833 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.59674 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253382'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.46389 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.79631 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15288

user answer per : 177
below is the redis data 15111 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15111 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 164
    [credit_seq] => 164
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512342
    [last_credit_update_time] => 1764512342
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.88339 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.89185 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.64893 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14657

user answer per : 177
below is the redis data 14480 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14480 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.10994 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253503'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.79664 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.57546 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16817

user answer per : 177
below is the redis data 16640 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16640 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.88005 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78976
    [compaign_id] => 78976
    [1] => sr170
    [user_id] => sr170
    [2] => 66554,
    [group_ids] => 66554,
    [3] => 
    [sender_id] => 
    [4] => amol ruiwale.mp3
    [filename] => amol ruiwale.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764512149
    [start_date] => 1764512149
    [9] => 0
    [end_date] => 0
    [10] => 5819
    [total_sms] => 5819
    [11] => 5819
    [sent_sms] => 5819
    [12] => 0
    [duplicate_sms] => 0
    [13] => 620
    [answered_sms] => 620
    [14] => 252
    [busy_sms] => 252
    [15] => 0
    [congestion_sms] => 0
    [16] => 1697
    [failed_sms] => 1697
    [17] => 0
    [hangup_sms] => 0
    [18] => 507
    [no_answer_sms] => 507
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2743
    [cutting_sms] => 2743
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 620
    [user_answered_sms] => 620
    [27] => 252
    [user_busy_sms] => 252
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1697
    [user_failed_sms] => 1697
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 507
    [user_no_answer_sms] => 507
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr170
    [created_by] => sr170
    [38] => 0
    [isScheduled] => 0
    [39] => 1764512146
    [create_date] => 1764512146
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764512163,"compaign_read_start_time":1764512165,"compaign_read_complete_time":1764512173,"compaign_send_start_time":1764512222,"compaign_send_complete_time":1764512233}
    [action_time] => {"api_allot_time":1764512163,"compaign_read_start_time":1764512165,"compaign_read_complete_time":1764512173,"compaign_send_start_time":1764512222,"compaign_send_complete_time":1764512233}
    [50] => 0
    [compaign_file] => 0
    [51] => sr170_78976_30112025_074603PM_133
    [common_name] => sr170_78976_30112025_074603PM_133
    [52] => 1764222677_sr170_voice_upload.wav
    [voice_file] => 1764222677_sr170_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66554
    [temp_group_table] => contacts_temp_group_66554
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1764512404
    [reschedule_last_check_time] => 1764512404
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512641
    [last_credit_update_time] => 1764512641
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 601
    [user_voice_plan_id] => 601
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.13
    [pulse_rate] => 0.13
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"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,sr170
    [uphierarchy] => admin,sr170
    [113] => 
    [extra_params_json] => 
)


Compaign : 78976
\compaign_type : Rans per 28.01902 
ans sms 5819
dnd sms 0

require answer perrequire answer per : 1631

user answer per : 620
below is the redis data 1011 /n/r
only no answer and busy will be convert, total number require 1011 /n/r
UPDATE voice_compaign_detail_78976 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 718 UPDATE voice_compaign_detail_78976 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 718 Total Failed : 1850 no_answer_count : 617 Busy count :475 congestion_count : 220 failed_count : 538UPDATE voice_compaign_detail_78976 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 617 UPDATE voice_compaign_detail_78976 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 475 UPDATE voice_compaign_detail_78976 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 220 UPDATE voice_compaign_detail_78976 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 538 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1379', `user_busy_sms`='1193', `user_congestion_sms`='220', `user_failed_sms`='1692', `user_hangup_sms`='0', `user_no_answer_sms`='1335', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78976 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>'1764253563'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.7255 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.2478 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15537

user answer per : 177
below is the redis data 15360 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15360 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512583
    [last_credit_update_time] => 1764512583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.21418 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253623'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.05096 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.15162 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14384

user answer per : 177
below is the redis data 14207 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14207 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 48377
    [total_sms] => 48377
    [11] => 48377
    [sent_sms] => 48377
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 18125
    [busy_sms] => 18125
    [15] => 23
    [congestion_sms] => 23
    [16] => 28262
    [failed_sms] => 28262
    [17] => 0
    [hangup_sms] => 0
    [18] => 1891
    [no_answer_sms] => 1891
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [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] => 18125
    [user_busy_sms] => 18125
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28262
    [user_failed_sms] => 28262
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1891
    [user_no_answer_sms] => 1891
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.03672 
ans sms 48377
dnd sms 0

require answer perrequire answer per : 13564

user answer per : 99
below is the redis data 13465 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13465 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='99', `user_busy_sms`='18125', `user_congestion_sms`='0', `user_failed_sms`='28262', `user_hangup_sms`='0', `user_no_answer_sms`='1891', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.83168 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78977
    [compaign_id] => 78977
    [1] => u20720
    [user_id] => u20720
    [2] => 66555,
    [group_ids] => 66555,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764512465
    [start_date] => 1764512465
    [9] => 0
    [end_date] => 0
    [10] => 5448
    [total_sms] => 5448
    [11] => 5448
    [sent_sms] => 5448
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 260
    [busy_sms] => 260
    [15] => 0
    [congestion_sms] => 0
    [16] => 621
    [failed_sms] => 621
    [17] => 0
    [hangup_sms] => 0
    [18] => 174
    [no_answer_sms] => 174
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1045
    [cutting_sms] => 1045
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 260
    [user_busy_sms] => 260
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 621
    [user_failed_sms] => 621
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 174
    [user_no_answer_sms] => 174
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764512462
    [create_date] => 1764512462
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764512602,"compaign_read_start_time":1764512603,"compaign_read_complete_time":1764512615,"compaign_send_start_time":1764512642,"compaign_send_complete_time":1764512646}
    [action_time] => {"api_allot_time":1764512602,"compaign_read_start_time":1764512603,"compaign_read_complete_time":1764512615,"compaign_send_start_time":1764512642,"compaign_send_complete_time":1764512646}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78977_30112025_075112PM_725
    [common_name] => u20720_78977_30112025_075112PM_725
    [52] => 1764512462_u20720_voice.wav
    [voice_file] => 1764512462_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66555
    [temp_group_table] => contacts_temp_group_66555
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78977
\compaign_type : Rans per 28.11282 
ans sms 5448
dnd sms 3344

require answer perrequire answer per : 592

user answer per : 4
below is the redis data 588 UPDATE voice_compaign_detail_78977 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 588 Total Failed : 457 no_answer_count : 153 Busy count :118 congestion_count : 55 failed_count : 131UPDATE voice_compaign_detail_78977 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 UPDATE voice_compaign_detail_78977 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_78977 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_78977 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`='592', `user_busy_sms`='378', `user_congestion_sms`='55', `user_failed_sms`='752', `user_hangup_sms`='0', `user_no_answer_sms`='327', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78977 LIMIT 1 


Time Diff : 0.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>'1764253682'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.19791 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.82876 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14756

user answer per : 177
below is the redis data 14579 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14579 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.90559 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.08061 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.44418 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16745

user answer per : 177
below is the redis data 16568 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16568 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.63257 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253803'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.99561 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.8738 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14231

user answer per : 177
below is the redis data 14054 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14054 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 166
    [credit_seq] => 166
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764512822
    [last_credit_update_time] => 1764512822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.78309 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253864'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.63435 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.82733 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14756

user answer per : 177
below is the redis data 14579 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14579 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.8276 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253924'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.83015 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.33425 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14484

user answer per : 177
below is the redis data 14307 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14307 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.62154 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764253985'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.65965 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.70139 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16886

user answer per : 177
below is the redis data 16709 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16709 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 167
    [credit_seq] => 167
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513005
    [last_credit_update_time] => 1764513005
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.80599 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254045'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.25206 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.81762 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15300

user answer per : 177
below is the redis data 15123 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15123 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.56591 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254104'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.25288 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.05677 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14882

user answer per : 177
below is the redis data 14705 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14705 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.66772 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254163'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.78861 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.05926 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15433

user answer per : 177
below is the redis data 15256 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15256 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.2015 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254224'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.23986 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.94406 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16470

user answer per : 177
below is the redis data 16293 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16293 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 168
    [credit_seq] => 168
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513188
    [last_credit_update_time] => 1764513188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.35912 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254285'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.67347 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513427
    [last_credit_update_time] => 1764513427
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.29327 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16662

user answer per : 177
below is the redis data 16485 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16485 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513428
    [last_credit_update_time] => 1764513428
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.59291 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254347'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.45801 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513427
    [last_credit_update_time] => 1764513427
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.9239 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17009

user answer per : 177
below is the redis data 16832 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16832 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513428
    [last_credit_update_time] => 1764513428
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.68925 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254404'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.74483 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513427
    [last_credit_update_time] => 1764513427
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.71015 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15241

user answer per : 177
below is the redis data 15064 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15064 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513428
    [last_credit_update_time] => 1764513428
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.81546 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254466'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.09396 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513427
    [last_credit_update_time] => 1764513427
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.54027 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15698

user answer per : 177
below is the redis data 15521 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15521 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 169
    [credit_seq] => 169
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513428
    [last_credit_update_time] => 1764513428
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.44765 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254525'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.38115 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.55859 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14058

user answer per : 177
below is the redis data 13881 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13881 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.15085 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254584'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.67704 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.90153 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14246

user answer per : 177
below is the redis data 14069 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14069 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.27725 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254647'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.6553 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.71927 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16896

user answer per : 177
below is the redis data 16719 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16719 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.34114 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254705'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.18573 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.48131 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15665

user answer per : 177
below is the redis data 15488 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15488 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 170
    [credit_seq] => 170
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513674
    [last_credit_update_time] => 1764513674
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.57201 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254765'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.20773 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.72453 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15799

user answer per : 177
below is the redis data 15622 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15622 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.68 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254826'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.39 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.72084 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14697

user answer per : 177
below is the redis data 14520 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14520 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.34918 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254886'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.10211 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.72684 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15250

user answer per : 177
below is the redis data 15073 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15073 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 171
    [credit_seq] => 171
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764513907
    [last_credit_update_time] => 1764513907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.37861 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764254948'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.05574 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.23188 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14978

user answer per : 177
below is the redis data 14801 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14801 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.98824 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

Array
(
    [0] => 78984
    [compaign_id] => 78984
    [1] => u20720
    [user_id] => u20720
    [2] => 66556,
    [group_ids] => 66556,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764513882
    [start_date] => 1764513882
    [9] => 0
    [end_date] => 0
    [10] => 4856
    [total_sms] => 4856
    [11] => 4856
    [sent_sms] => 4856
    [12] => 0
    [duplicate_sms] => 0
    [13] => 92
    [answered_sms] => 92
    [14] => 193
    [busy_sms] => 193
    [15] => 0
    [congestion_sms] => 0
    [16] => 364
    [failed_sms] => 364
    [17] => 0
    [hangup_sms] => 0
    [18] => 146
    [no_answer_sms] => 146
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 717
    [cutting_sms] => 717
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 92
    [user_answered_sms] => 92
    [27] => 193
    [user_busy_sms] => 193
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 364
    [user_failed_sms] => 364
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764513880
    [create_date] => 1764513880
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764513888,"compaign_read_start_time":1764513888,"compaign_read_complete_time":1764513898,"compaign_send_start_time":1764513907,"compaign_send_complete_time":1764513911}
    [action_time] => {"api_allot_time":1764513888,"compaign_read_start_time":1764513888,"compaign_read_complete_time":1764513898,"compaign_send_start_time":1764513907,"compaign_send_complete_time":1764513911}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78984_30112025_081447PM_614
    [common_name] => u20720_78984_30112025_081447PM_614
    [52] => 1764513879_u20720_voice.wav
    [voice_file] => 1764513879_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66556
    [temp_group_table] => contacts_temp_group_66556
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514143
    [last_credit_update_time] => 1764514143
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78984
\compaign_type : Rans per 25.25474 
ans sms 4856
dnd sms 3344

require answer perrequire answer per : 382

user answer per : 92
below is the redis data 290 UPDATE voice_compaign_detail_78984 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 290 Total Failed : 427 no_answer_count : 143 Busy count :110 congestion_count : 51 failed_count : 123UPDATE voice_compaign_detail_78984 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 143 UPDATE voice_compaign_detail_78984 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_78984 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_78984 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 123 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='382', `user_busy_sms`='303', `user_congestion_sms`='51', `user_failed_sms`='487', `user_hangup_sms`='0', `user_no_answer_sms`='289', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78984 LIMIT 1 


Time Diff : 0.037

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255008'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.39339 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.23305 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16629

user answer per : 177
below is the redis data 16452 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16452 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.35279 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255068'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.35785 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.09932 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16005

user answer per : 177
below is the redis data 15828 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15828 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.09229 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255129'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.69502 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.46565 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14007

user answer per : 177
below is the redis data 13830 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13830 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 172
    [credit_seq] => 172
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514146
    [last_credit_update_time] => 1764514146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.69771 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255183'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.80546 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.23002 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13877

user answer per : 177
below is the redis data 13700 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13700 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.37162 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255248'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.10329 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.14859 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16582

user answer per : 177
below is the redis data 16405 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16405 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.03047 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255306'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.53931 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.12468 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16019

user answer per : 177
below is the redis data 15842 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15842 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.41368 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255367'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.61888 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.40134 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14521

user answer per : 177
below is the redis data 14344 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14344 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1
    [user_failed_sms] => 1
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 173
    [credit_seq] => 173
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514340
    [last_credit_update_time] => 1764514340
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.74527 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255425'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.83786 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764514580
    [last_credit_update_time] => 1764514580
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.34008 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16138

user answer per : 177
below is the redis data 15961 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15961 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255485'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.71751 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764514580
    [last_credit_update_time] => 1764514580
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.86751 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14228

user answer per : 177
below is the redis data 14051 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14051 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255544'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.33036 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764514580
    [last_credit_update_time] => 1764514580
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.3866 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16163

user answer per : 177
below is the redis data 15986 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15986 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255605'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.7324 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764514580
    [last_credit_update_time] => 1764514580
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.6632 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15765

user answer per : 177
below is the redis data 15588 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15588 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255668'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.01292 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.01076 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15406

user answer per : 177
below is the redis data 15229 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15229 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.75099 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16914

user answer per : 108
below is the redis data 16806 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16806 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.27

Array
(
    [0] => 78985
    [compaign_id] => 78985
    [1] => u20720
    [user_id] => u20720
    [2] => 66557,
    [group_ids] => 66557,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764514441
    [start_date] => 1764514441
    [9] => 0
    [end_date] => 0
    [10] => 4474
    [total_sms] => 4474
    [11] => 4474
    [sent_sms] => 4474
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 148
    [busy_sms] => 148
    [15] => 0
    [congestion_sms] => 0
    [16] => 347
    [failed_sms] => 347
    [17] => 0
    [hangup_sms] => 0
    [18] => 101
    [no_answer_sms] => 101
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 531
    [cutting_sms] => 531
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 148
    [user_busy_sms] => 148
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 347
    [user_failed_sms] => 347
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 101
    [user_no_answer_sms] => 101
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764514438
    [create_date] => 1764514438
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764514586,"compaign_read_start_time":1764514589,"compaign_read_complete_time":1764514596,"compaign_send_start_time":1764514627,"compaign_send_complete_time":1764514630}
    [action_time] => {"api_allot_time":1764514586,"compaign_read_start_time":1764514589,"compaign_read_complete_time":1764514596,"compaign_send_start_time":1764514627,"compaign_send_complete_time":1764514630}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78985_30112025_082416PM_514
    [common_name] => u20720_78985_30112025_082416PM_514
    [52] => 1764514438_u20720_voice.wav
    [voice_file] => 1764514438_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66557
    [temp_group_table] => contacts_temp_group_66557
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514866
    [last_credit_update_time] => 1764514866
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78985
\compaign_type : Rans per 25.30015 
ans sms 4474
dnd sms 3344

require answer perrequire answer per : 286

user answer per : 3
below is the redis data 283 UPDATE voice_compaign_detail_78985 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 283 Total Failed : 248 no_answer_count : 83 Busy count :64 congestion_count : 30 failed_count : 71UPDATE voice_compaign_detail_78985 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_78985 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_78985 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_78985 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`='286', `user_busy_sms`='212', `user_congestion_sms`='30', `user_failed_sms`='418', `user_hangup_sms`='0', `user_no_answer_sms`='184', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78985 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>'1764255733'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.85535 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.81662 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16400

user answer per : 177
below is the redis data 16223 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16223 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.19705 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16059

user answer per : 108
below is the redis data 15951 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15951 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.272

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255788'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.42578 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.2138 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15518

user answer per : 177
below is the redis data 15341 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15341 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.43803 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15092

user answer per : 108
below is the redis data 14984 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14984 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.273

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255847'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.24913 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.23747 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13881

user answer per : 177
below is the redis data 13704 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13704 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 175
    [credit_seq] => 175
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764514810
    [last_credit_update_time] => 1764514810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.64317 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15205

user answer per : 108
below is the redis data 15097 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15097 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.274

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255908'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.15722 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.90525 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14798

user answer per : 177
below is the redis data 14621 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14621 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.20569 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15514

user answer per : 108
below is the redis data 15406 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15406 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.275

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764255968'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.63265 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.44561 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16196

user answer per : 177
below is the redis data 16019 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16019 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.25139 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15539

user answer per : 108
below is the redis data 15431 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15431 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.276

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256028'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.28151 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.76214 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16370

user answer per : 177
below is the redis data 16193 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16193 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.84656 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14766

user answer per : 108
below is the redis data 14658 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14658 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.277

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256090'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.76085 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.66946 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15769

user answer per : 177
below is the redis data 15592 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15592 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764515052
    [last_credit_update_time] => 1764515052
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.33225 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15584

user answer per : 108
below is the redis data 15476 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15476 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.278

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.49583 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.81207 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14747

user answer per : 177
below is the redis data 14570 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14570 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.15528 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14936

user answer per : 108
below is the redis data 14828 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14828 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.279

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256214'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.66068 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.68453 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16877

user answer per : 177
below is the redis data 16700 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16700 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.52993 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14592

user answer per : 108
below is the redis data 14484 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14484 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.28

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256273'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.5575 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.91478 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16454

user answer per : 177
below is the redis data 16277 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16277 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515291
    [last_credit_update_time] => 1764515291
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.48724 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14019

user answer per : 108
below is the redis data 13911 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13911 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.281

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256334'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.68258 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.20198 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13862

user answer per : 177
below is the redis data 13685 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13685 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.41206 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16727

user answer per : 108
below is the redis data 16619 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16619 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.283

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256386'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.20514 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.67654 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16873

user answer per : 177
below is the redis data 16696 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16696 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.1617 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14390

user answer per : 108
below is the redis data 14282 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14282 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.283

Array
(
    [0] => 78986
    [compaign_id] => 78986
    [1] => u20720
    [user_id] => u20720
    [2] => 66558,
    [group_ids] => 66558,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764515301
    [start_date] => 1764515301
    [9] => 0
    [end_date] => 0
    [10] => 4188
    [total_sms] => 4188
    [11] => 4188
    [sent_sms] => 4188
    [12] => 0
    [duplicate_sms] => 0
    [13] => 30
    [answered_sms] => 30
    [14] => 122
    [busy_sms] => 122
    [15] => 0
    [congestion_sms] => 0
    [16] => 236
    [failed_sms] => 236
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 392
    [cutting_sms] => 392
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 30
    [user_answered_sms] => 30
    [27] => 122
    [user_busy_sms] => 122
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 236
    [user_failed_sms] => 236
    [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] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764515299
    [create_date] => 1764515299
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764515309,"compaign_read_start_time":1764515313,"compaign_read_complete_time":1764515320,"compaign_send_start_time":1764515357,"compaign_send_complete_time":1764515360}
    [action_time] => {"api_allot_time":1764515309,"compaign_read_start_time":1764515313,"compaign_read_complete_time":1764515320,"compaign_send_start_time":1764515357,"compaign_send_complete_time":1764515360}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78986_30112025_083828PM_141
    [common_name] => u20720_78986_30112025_083828PM_141
    [52] => 1764515299_u20720_voice.wav
    [voice_file] => 1764515299_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66558
    [temp_group_table] => contacts_temp_group_66558
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515534
    [last_credit_update_time] => 1764515534
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78986
\compaign_type : Rans per 30.02744 
ans sms 4188
dnd sms 3344

require answer perrequire answer per : 254

user answer per : 30
below is the redis data 224 UPDATE voice_compaign_detail_78986 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 224 Total Failed : 168 no_answer_count : 57 Busy count :44 congestion_count : 20 failed_count : 47UPDATE voice_compaign_detail_78986 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_78986 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_78986 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_78986 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`='254', `user_busy_sms`='166', `user_congestion_sms`='20', `user_failed_sms`='283', `user_hangup_sms`='0', `user_no_answer_sms`='121', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78986 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>'1764256446'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.07364 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.09886 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13805

user answer per : 177
below is the redis data 13628 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13628 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.35944 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15048

user answer per : 108
below is the redis data 14940 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14940 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.285

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256507'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.90401 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.65964 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14663

user answer per : 177
below is the redis data 14486 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14486 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 178
    [credit_seq] => 178
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515474
    [last_credit_update_time] => 1764515474
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.85767 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16973

user answer per : 108
below is the redis data 16865 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16865 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.286

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256566'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.1022 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.31241 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15572

user answer per : 177
below is the redis data 15395 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15395 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.28175 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15556

user answer per : 108
below is the redis data 15448 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15448 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.287

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256627'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.77587 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.64274 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16304

user answer per : 177
below is the redis data 16127 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16127 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.18823 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16604

user answer per : 108
below is the redis data 16496 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16496 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.288

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256688'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.01148 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.52035 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15137

user answer per : 177
below is the redis data 14960 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14960 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.4362 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15091

user answer per : 108
below is the redis data 14983 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14983 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.289

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256745'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.3543 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.91667 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14255

user answer per : 177
below is the redis data 14078 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14078 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 179
    [credit_seq] => 179
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515713
    [last_credit_update_time] => 1764515713
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27904 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15004

user answer per : 108
below is the redis data 14896 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14896 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.29

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256806'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.12643 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.31988 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15026

user answer per : 177
below is the redis data 14849 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14849 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.41285 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15078

user answer per : 108
below is the redis data 14970 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14970 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.291

Array
(
    [0] => 78987
    [compaign_id] => 78987
    [1] => u20720
    [user_id] => u20720
    [2] => 66559,
    [group_ids] => 66559,
    [3] => 
    [sender_id] => 
    [4] => 2811 ashok kaka.mp3
    [filename] => 2811 ashok kaka.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764515724
    [start_date] => 1764515724
    [9] => 0
    [end_date] => 0
    [10] => 3934
    [total_sms] => 3934
    [11] => 3934
    [sent_sms] => 3934
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 84
    [busy_sms] => 84
    [15] => 0
    [congestion_sms] => 0
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 292
    [cutting_sms] => 292
    [22] => 3344
    [dnd_sms] => 3344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 84
    [user_busy_sms] => 84
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 153
    [user_failed_sms] => 153
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 42
    [user_no_answer_sms] => 42
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3344
    [user_dnd_sms] => 3344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764515722
    [create_date] => 1764515722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764515732,"compaign_read_start_time":1764515736,"compaign_read_complete_time":1764515743,"compaign_send_start_time":1764515774,"compaign_send_complete_time":1764515776}
    [action_time] => {"api_allot_time":1764515732,"compaign_read_start_time":1764515736,"compaign_read_complete_time":1764515743,"compaign_send_start_time":1764515774,"compaign_send_complete_time":1764515776}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_78987_30112025_084531PM_318
    [common_name] => u20720_78987_30112025_084531PM_318
    [52] => 1764515722_u20720_voice.wav
    [voice_file] => 1764515722_u20720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66559
    [temp_group_table] => contacts_temp_group_66559
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515949
    [last_credit_update_time] => 1764515949
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1750
    [user_voice_plan_id] => 1750
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 78987
\compaign_type : Rans per 27.68852 
ans sms 3934
dnd sms 3344

require answer perrequire answer per : 164

user answer per : 19
below is the redis data 145 UPDATE voice_compaign_detail_78987 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 145 Total Failed : 147 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_78987 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_78987 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_78987 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_78987 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`='164', `user_busy_sms`='122', `user_congestion_sms`='18', `user_failed_sms`='194', `user_hangup_sms`='0', `user_no_answer_sms`='92', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3344' WHERE `compaign_id`=78987 LIMIT 1 


Time Diff : 0.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>'1764256868'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.51769 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.23255 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14428

user answer per : 177
below is the redis data 14251 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14251 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.7777 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14729

user answer per : 108
below is the redis data 14621 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14621 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.292

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256928'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.73437 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.80461 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15843

user answer per : 177
below is the redis data 15666 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15666 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27453 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15002

user answer per : 108
below is the redis data 14894 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14894 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.293

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764256988'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.05465 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.07276 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16541

user answer per : 177
below is the redis data 16364 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16364 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 180
    [credit_seq] => 180
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764515957
    [last_credit_update_time] => 1764515957
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.12435 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15469

user answer per : 108
below is the redis data 15361 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15361 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.294

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257049'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.8908 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.08764 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16549

user answer per : 177
below is the redis data 16372 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16372 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.5087 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14031

user answer per : 108
below is the redis data 13923 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13923 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.296

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257108'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.09815 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.84431 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15315

user answer per : 177
below is the redis data 15138 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15138 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.91512 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17004

user answer per : 108
below is the redis data 16896 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16896 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257170'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.90038 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.74025 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16908

user answer per : 177
below is the redis data 16731 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16731 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 181
    [credit_seq] => 181
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516189
    [last_credit_update_time] => 1764516189
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.77686 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16928

user answer per : 108
below is the redis data 16820 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16820 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.298

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257227'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.83739 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.94852 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15372

user answer per : 177
below is the redis data 15195 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15195 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.49825 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16225

user answer per : 108
below is the redis data 16117 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16117 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.299

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257289'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.39579 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.54496 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15150

user answer per : 177
below is the redis data 14973 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14973 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.43392 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13989

user answer per : 108
below is the redis data 13881 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13881 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.3

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257348'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.61946 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.72948 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15252

user answer per : 177
below is the redis data 15075 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15075 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.82792 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14756

user answer per : 108
below is the redis data 14648 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14648 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.301

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257410'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.81138 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.93805 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15366

user answer per : 177
below is the redis data 15189 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15189 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 182
    [credit_seq] => 182
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516373
    [last_credit_update_time] => 1764516373
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.33177 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16683

user answer per : 108
below is the redis data 16575 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16575 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.302

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257467'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.38431 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.72345 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16898

user answer per : 177
below is the redis data 16721 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16721 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.79867 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14740

user answer per : 108
below is the redis data 14632 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14632 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.303

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257535'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.89734 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.12333 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14918

user answer per : 177
below is the redis data 14741 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14741 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.09656 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14354

user answer per : 108
below is the redis data 14246 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14246 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.304

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764257584'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.84503 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.09467 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16003

user answer per : 177
below is the redis data 15826 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15826 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.25448 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13891

user answer per : 108
below is the redis data 13783 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13783 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257652'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.63004 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.09548 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14903

user answer per : 177
below is the redis data 14726 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14726 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 183
    [credit_seq] => 183
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764516611
    [last_credit_update_time] => 1764516611
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.51645 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14035

user answer per : 108
below is the redis data 13927 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13927 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257711'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.46819 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.8208 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16952

user answer per : 177
below is the redis data 16775 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16775 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.089 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13800

user answer per : 108
below is the redis data 13692 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13692 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257776'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.69128 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.09632 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14353

user answer per : 177
below is the redis data 14176 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14176 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.13096 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14923

user answer per : 108
below is the redis data 14815 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14815 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257832'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.22283 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.55169 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16804

user answer per : 177
below is the redis data 16627 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16627 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.17716 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15498

user answer per : 108
below is the redis data 15390 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15390 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257888'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.90996 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.32225 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16128

user answer per : 177
below is the redis data 15951 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15951 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764516855
    [last_credit_update_time] => 1764516855
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.8921 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15891

user answer per : 108
below is the redis data 15783 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15783 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764257949'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.8779 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517096
    [last_credit_update_time] => 1764517096
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.91533 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16454

user answer per : 177
below is the redis data 16277 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16277 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517097
    [last_credit_update_time] => 1764517097
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.88714 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15339

user answer per : 108
below is the redis data 15231 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15231 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258010'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.19162 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517096
    [last_credit_update_time] => 1764517096
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.47695 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14563

user answer per : 177
below is the redis data 14386 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14386 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517097
    [last_credit_update_time] => 1764517097
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.06599 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15987

user answer per : 108
below is the redis data 15879 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15879 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258068'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.93857 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517096
    [last_credit_update_time] => 1764517096
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.14141 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16578

user answer per : 177
below is the redis data 16401 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16401 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517097
    [last_credit_update_time] => 1764517097
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.7964 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15289

user answer per : 108
below is the redis data 15181 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15181 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258126'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.54827 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517096
    [last_credit_update_time] => 1764517096
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.02186 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14863

user answer per : 177
below is the redis data 14686 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14686 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 185
    [credit_seq] => 185
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517097
    [last_credit_update_time] => 1764517097
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.79332 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16937

user answer per : 108
below is the redis data 16829 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16829 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258191'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.89852 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.55734 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16807

user answer per : 177
below is the redis data 16630 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16630 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.78583 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15283

user answer per : 108
below is the redis data 15175 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15175 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258245'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.5434 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.74084 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14708

user answer per : 177
below is the redis data 14531 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14531 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.25353 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15540

user answer per : 108
below is the redis data 15432 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15432 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258316'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.9518 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.30547 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16669

user answer per : 177
below is the redis data 16492 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16492 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.82992 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14207

user answer per : 108
below is the redis data 14099 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14099 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258368'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.77065 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.9286 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15361

user answer per : 177
below is the redis data 15184 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15184 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517329
    [last_credit_update_time] => 1764517329
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.41751 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13980

user answer per : 108
below is the redis data 13872 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13872 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258429'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.20383 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.58986 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16825

user answer per : 177
below is the redis data 16648 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16648 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.95051 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14274

user answer per : 108
below is the redis data 14166 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14166 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258486'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.53985 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.45343 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14000

user answer per : 177
below is the redis data 13823 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13823 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27429 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15002

user answer per : 108
below is the redis data 14894 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14894 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258550'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.96545 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.51222 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15132

user answer per : 177
below is the redis data 14955 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14955 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.35887 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16148

user answer per : 108
below is the redis data 16040 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16040 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258608'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.33919 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.57725 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16818

user answer per : 177
below is the redis data 16641 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16641 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 187
    [credit_seq] => 187
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517570
    [last_credit_update_time] => 1764517570
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.30115 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16116

user answer per : 108
below is the redis data 16008 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16008 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258669'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.66266 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.41401 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15628

user answer per : 177
below is the redis data 15451 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15451 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.88282 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15886

user answer per : 108
below is the redis data 15778 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15778 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258731'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.85378 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.91761 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15355

user answer per : 177
below is the redis data 15178 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15178 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.52583 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14040

user answer per : 108
below is the redis data 13932 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13932 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258791'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.45982 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.92671 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17010

user answer per : 177
below is the redis data 16833 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16833 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 188
    [credit_seq] => 188
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764517810
    [last_credit_update_time] => 1764517810
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.72153 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15248

user answer per : 108
below is the redis data 15140 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15140 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258847'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.45085 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.99684 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15949

user answer per : 177
below is the redis data 15772 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15772 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.2272 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13876

user answer per : 108
below is the redis data 13768 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13768 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258918'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.0783 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.66343 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14665

user answer per : 177
below is the redis data 14488 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14488 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.28429 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14457

user answer per : 108
below is the redis data 14349 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14349 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764258970'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.15984 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.6042 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14633

user answer per : 177
below is the redis data 14456 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14456 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.5724 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14066

user answer per : 108
below is the redis data 13958 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13958 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259033'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.0663 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.4856 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15118

user answer per : 177
below is the redis data 14941 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14941 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764517994
    [last_credit_update_time] => 1764517994
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.87445 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15332

user answer per : 108
below is the redis data 15224 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15224 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259086'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.73942 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.20726 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15514

user answer per : 177
below is the redis data 15337 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15337 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.37347 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16706

user answer per : 108
below is the redis data 16598 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16598 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259148'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.08392 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.33122 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13933

user answer per : 177
below is the redis data 13756 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13756 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.42006 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16732

user answer per : 108
below is the redis data 16624 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16624 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259206'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.19024 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.87736 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14233

user answer per : 177
below is the redis data 14056 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14056 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.31768 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15025

user answer per : 108
below is the redis data 14917 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14917 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259269'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.91585 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.72779 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14151

user answer per : 177
below is the redis data 13974 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13974 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 190
    [credit_seq] => 190
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518238
    [last_credit_update_time] => 1764518238
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.87835 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14784

user answer per : 108
below is the redis data 14676 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14676 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259326'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.96558 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.1606 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15489

user answer per : 177
below is the redis data 15312 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15312 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.08388 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15997

user answer per : 108
below is the redis data 15889 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15889 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259392'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.46169 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48734 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14569

user answer per : 177
below is the redis data 14392 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14392 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.14935 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16583

user answer per : 108
below is the redis data 16475 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16475 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259445'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.08526 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.07186 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13790

user answer per : 177
below is the redis data 13613 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13613 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.88849 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16989

user answer per : 108
below is the redis data 16881 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16881 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259513'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.1888 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.73241 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15803

user answer per : 177
below is the redis data 15626 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15626 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518471
    [last_credit_update_time] => 1764518471
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.35684 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15597

user answer per : 108
below is the redis data 15489 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15489 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259572'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.71867 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.48146 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14565

user answer per : 177
below is the redis data 14388 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14388 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.82798 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16406

user answer per : 108
below is the redis data 16298 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16298 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259625'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.64553 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.52946 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16242

user answer per : 177
below is the redis data 16065 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16065 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.6121 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15187

user answer per : 108
below is the redis data 15079 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15079 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259698'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.08982 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.69107 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14131

user answer per : 177
below is the redis data 13954 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13954 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.90655 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16999

user answer per : 108
below is the redis data 16891 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16891 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259750'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.62068 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.05976 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15983

user answer per : 177
below is the redis data 15806 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15806 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 192
    [credit_seq] => 192
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518715
    [last_credit_update_time] => 1764518715
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.10971 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14911

user answer per : 108
below is the redis data 14803 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14803 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259814'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.20174 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.41833 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14531

user answer per : 177
below is the redis data 14354 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14354 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.34762 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15042

user answer per : 108
below is the redis data 14934 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14934 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259868'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.86123 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.49051 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15670

user answer per : 177
below is the redis data 15493 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15493 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.94641 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14271

user answer per : 108
below is the redis data 14163 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14163 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259931'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.58312 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.05603 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15431

user answer per : 177
below is the redis data 15254 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15254 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 193
    [credit_seq] => 193
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764518951
    [last_credit_update_time] => 1764518951
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.96796 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17033

user answer per : 108
below is the redis data 16925 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16925 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764259990'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.4515 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519141
    [last_credit_update_time] => 1764519141
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.79921 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16390

user answer per : 177
below is the redis data 16213 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16213 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519142
    [last_credit_update_time] => 1764519142
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.92406 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16459

user answer per : 108
below is the redis data 16351 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16351 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 19061
    [total_sms] => 19061
    [11] => 19061
    [sent_sms] => 19061
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 15481
    [failed_sms] => 15481
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15481
    [user_failed_sms] => 15481
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519188
    [last_credit_update_time] => 1764519188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.36792 
ans sms 19061
dnd sms 0

require answer perrequire answer per : 5217

user answer per : 18
below is the redis data 5199 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5199 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='15482', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764260049'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.39203 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519141
    [last_credit_update_time] => 1764519141
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.90444 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14248

user answer per : 177
below is the redis data 14071 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14071 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519142
    [last_credit_update_time] => 1764519142
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.49206 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16771

user answer per : 108
below is the redis data 16663 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16663 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260112'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.93524 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519141
    [last_credit_update_time] => 1764519141
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.6845 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14127

user answer per : 177
below is the redis data 13950 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13950 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519142
    [last_credit_update_time] => 1764519142
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.77931 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16379

user answer per : 108
below is the redis data 16271 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16271 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260169'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.65315 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519141
    [last_credit_update_time] => 1764519141
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.14495 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13830

user answer per : 177
below is the redis data 13653 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13653 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519142
    [last_credit_update_time] => 1764519142
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.46384 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14556

user answer per : 108
below is the redis data 14448 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14448 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260230'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.87001 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.62119 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15742

user answer per : 177
below is the redis data 15565 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15565 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.02991 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14867

user answer per : 108
below is the redis data 14759 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14759 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260286'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.25276 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.12452 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14369

user answer per : 177
below is the redis data 14192 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14192 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27068 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15000

user answer per : 108
below is the redis data 14892 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14892 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260347'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.60005 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.61569 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15739

user answer per : 177
below is the redis data 15562 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15562 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519374
    [last_credit_update_time] => 1764519374
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.0471 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15977

user answer per : 108
below is the redis data 15869 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15869 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260410'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.60939 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.00888 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15955

user answer per : 177
below is the redis data 15778 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15778 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.78543 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15833

user answer per : 108
below is the redis data 15725 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15725 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 20702
    [total_sms] => 20702
    [11] => 20702
    [sent_sms] => 20702
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 17122
    [failed_sms] => 17122
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17122
    [user_failed_sms] => 17122
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.51776 
ans sms 20702
dnd sms 0

require answer perrequire answer per : 6318

user answer per : 18
below is the redis data 6300 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6300 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='17122', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764260472'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.2731 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.08101 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13795

user answer per : 177
below is the redis data 13618 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13618 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.10959 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16011

user answer per : 108
below is the redis data 15903 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15903 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260533'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.99912 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.5479 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14052

user answer per : 177
below is the redis data 13875 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13875 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.96664 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16482

user answer per : 108
below is the redis data 16374 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16374 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260588'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.82695 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.83041 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15307

user answer per : 177
below is the redis data 15130 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15130 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.66523 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14117

user answer per : 108
below is the redis data 14009 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14009 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260650'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.86953 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.25291 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16640

user answer per : 177
below is the redis data 16463 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16463 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764519609
    [last_credit_update_time] => 1764519609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.99112 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15396

user answer per : 108
below is the redis data 15288 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15288 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260706'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.78893 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.64163 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16853

user answer per : 177
below is the redis data 16676 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16676 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.91039 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16452

user answer per : 108
below is the redis data 16344 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16344 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260769'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.96386 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.0053 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13753

user answer per : 177
below is the redis data 13576 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13576 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.33277 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14484

user answer per : 108
below is the redis data 14376 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14376 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260827'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.67866 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.9092 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15901

user answer per : 177
below is the redis data 15724 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15724 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.00196 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16502

user answer per : 108
below is the redis data 16394 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16394 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260889'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.97641 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.57835 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14619

user answer per : 177
below is the redis data 14442 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14442 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764519850
    [last_credit_update_time] => 1764519850
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.60736 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16285

user answer per : 108
below is the redis data 16177 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16177 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764260946'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.66152 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.03461 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13770

user answer per : 177
below is the redis data 13593 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13593 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.62228 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14643

user answer per : 108
below is the redis data 14535 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14535 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261015'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.86807 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.88835 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15889

user answer per : 177
below is the redis data 15712 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15712 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.13333 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14374

user answer per : 108
below is the redis data 14266 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14266 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261068'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.55387 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.68947 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16880

user answer per : 177
below is the redis data 16703 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16703 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520090
    [last_credit_update_time] => 1764520090
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.38395 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14512

user answer per : 108
below is the redis data 14404 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14404 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261127'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.56039 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.07598 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16542

user answer per : 177
below is the redis data 16365 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16365 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.2946 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16663

user answer per : 108
below is the redis data 16555 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16555 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261188'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.76459 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.62257 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15743

user answer per : 177
below is the redis data 15566 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15566 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.99968 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17051

user answer per : 108
below is the redis data 16943 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16943 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261257'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.66924 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.1858 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16603

user answer per : 177
below is the redis data 16426 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16426 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.23257 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15529

user answer per : 108
below is the redis data 15421 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15421 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261307'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.44664 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.6538 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14110

user answer per : 177
below is the redis data 13933 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13933 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520280
    [last_credit_update_time] => 1764520280
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.19536 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16058

user answer per : 108
below is the redis data 15950 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15950 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261370'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.71792 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.07159 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14890

user answer per : 177
below is the redis data 14713 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14713 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.9801 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15390

user answer per : 108
below is the redis data 15282 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15282 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261425'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.70576 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.62133 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16842

user answer per : 177
below is the redis data 16665 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16665 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.80087 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16941

user answer per : 108
below is the redis data 16833 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16833 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261490'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.61323 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.56564 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15162

user answer per : 177
below is the redis data 14985 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14985 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520507
    [last_credit_update_time] => 1764520507
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.06631 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15987

user answer per : 108
below is the redis data 15879 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15879 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261553'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.5616 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.16155 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14389

user answer per : 177
below is the redis data 14212 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14212 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.45601 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15102

user answer per : 108
below is the redis data 14994 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14994 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261607'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.19575 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.07961 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15444

user answer per : 177
below is the redis data 15267 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15267 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.70683 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14140

user answer per : 108
below is the redis data 14032 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14032 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261671'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.96699 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.02972 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13767

user answer per : 177
below is the redis data 13590 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13590 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.81716 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14200

user answer per : 108
below is the redis data 14092 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14092 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261727'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.61465 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.89896 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14795

user answer per : 177
below is the redis data 14618 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14618 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520692
    [last_credit_update_time] => 1764520692
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.35469 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14496

user answer per : 108
below is the redis data 14388 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14388 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261787'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.48251 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.67041 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14669

user answer per : 177
below is the redis data 14492 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14492 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.13168 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14373

user answer per : 108
below is the redis data 14265 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14265 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261845'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.34432 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.51139 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16782

user answer per : 177
below is the redis data 16605 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16605 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.46148 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14555

user answer per : 108
below is the redis data 14447 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14447 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261909'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.24856 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.31801 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13925

user answer per : 177
below is the redis data 13748 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13748 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.79958 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14191

user answer per : 108
below is the redis data 14083 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14083 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764261968'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.27953 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.73119 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14703

user answer per : 177
below is the redis data 14526 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14526 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764520935
    [last_credit_update_time] => 1764520935
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.07753 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15443

user answer per : 108
below is the redis data 15335 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15335 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262029'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.66499 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.33768 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16136

user answer per : 177
below is the redis data 15959 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15959 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.39074 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15066

user answer per : 108
below is the redis data 14958 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14958 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262087'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.06516 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.59257 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15176

user answer per : 177
below is the redis data 14999 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14999 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.59095 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16276

user answer per : 108
below is the redis data 16168 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16168 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262146'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.99863 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.90722 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14799

user answer per : 177
below is the redis data 14622 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14622 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.72936 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14702

user answer per : 108
below is the redis data 14594 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14594 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262208'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.45035 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.99185 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14296

user answer per : 177
below is the redis data 14119 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14119 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521173
    [last_credit_update_time] => 1764521173
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.11471 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14914

user answer per : 108
below is the redis data 14806 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14806 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262265'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.93526 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.9316 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14263

user answer per : 177
below is the redis data 14086 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14086 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.58747 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16824

user answer per : 108
below is the redis data 16716 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16716 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262325'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.41892 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.72358 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15248

user answer per : 177
below is the redis data 15071 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15071 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.75307 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16915

user answer per : 108
below is the redis data 16807 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16807 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262387'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.27792 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.06068 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15984

user answer per : 177
below is the redis data 15807 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15807 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.54455 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14050

user answer per : 108
below is the redis data 13942 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13942 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262443'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.63486 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.14477 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13830

user answer per : 177
below is the redis data 13653 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13653 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521408
    [last_credit_update_time] => 1764521408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.95104 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14824

user answer per : 108
below is the redis data 14716 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14716 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262506'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.95622 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.87569 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16982

user answer per : 177
below is the redis data 16805 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16805 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.30224 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16667

user answer per : 108
below is the redis data 16559 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16559 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262565'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.38697 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.96864 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17033

user answer per : 177
below is the redis data 16856 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16856 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.45837 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14553

user answer per : 108
below is the redis data 14445 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14445 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262626'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.69413 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.59679 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15729

user answer per : 177
below is the redis data 15552 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15552 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.46297 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15105

user answer per : 108
below is the redis data 14997 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14997 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262685'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.25203 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.57621 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16817

user answer per : 177
below is the redis data 16640 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16640 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521645
    [last_credit_update_time] => 1764521645
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.377 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16708

user answer per : 108
below is the redis data 16600 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16600 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 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>'1764262743'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.87393 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.59488 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16828

user answer per : 177
below is the redis data 16651 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16651 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.9627 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16480

user answer per : 108
below is the redis data 16372 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16372 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.91834 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8002

user answer per : 18
below is the redis data 7984 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7984 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764262803'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.84869 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.16768 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14943

user answer per : 177
below is the redis data 14766 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14766 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.61438 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16839

user answer per : 108
below is the redis data 16731 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16731 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.9344 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8006

user answer per : 18
below is the redis data 7988 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7988 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764262862'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.9418 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.69966 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14135

user answer per : 177
below is the redis data 13958 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13958 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.47403 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14011

user answer per : 108
below is the redis data 13903 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13903 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764521886
    [last_credit_update_time] => 1764521886
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.54845 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7595

user answer per : 18
below is the redis data 7577 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7577 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764262925'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.18488 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522124
    [last_credit_update_time] => 1764522124
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.64189 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14654

user answer per : 177
below is the redis data 14477 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14477 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.11134 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16562

user answer per : 108
below is the redis data 16454 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16454 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.41081 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7851

user answer per : 18
below is the redis data 7833 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7833 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764262984'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.87979 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522124
    [last_credit_update_time] => 1764522124
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.686 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14678

user answer per : 177
below is the redis data 14501 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14501 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.64456 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16855

user answer per : 108
below is the redis data 16747 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16747 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.46846 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9057

user answer per : 18
below is the redis data 9039 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9039 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263048'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.46808 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522124
    [last_credit_update_time] => 1764522124
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.85825 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16423

user answer per : 177
below is the redis data 16246 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16246 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.0221 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16513

user answer per : 108
below is the redis data 16405 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16405 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.3035 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9008

user answer per : 18
below is the redis data 8990 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8990 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263107'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.68854 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522124
    [last_credit_update_time] => 1764522124
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.70497 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16338

user answer per : 177
below is the redis data 16161 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16161 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.15617 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13837

user answer per : 108
below is the redis data 13729 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13729 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522125
    [last_credit_update_time] => 1764522125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.73462 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7947

user answer per : 18
below is the redis data 7929 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7929 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263164'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.83753 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.06467 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15986

user answer per : 177
below is the redis data 15809 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15809 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.60236 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16282

user answer per : 108
below is the redis data 16174 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16174 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.28566 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7814

user answer per : 18
below is the redis data 7796 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7796 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.93904 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.45463 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16201

user answer per : 177
below is the redis data 16024 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16024 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.96864 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15934

user answer per : 108
below is the redis data 15826 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15826 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.45347 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7864

user answer per : 18
below is the redis data 7846 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7846 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263283'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.75738 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.19933 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14960

user answer per : 177
below is the redis data 14783 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14783 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.94251 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15919

user answer per : 108
below is the redis data 15811 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15811 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.79615 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9154

user answer per : 18
below is the redis data 9136 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9136 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263345'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.75095 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.35342 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14495

user answer per : 177
below is the redis data 14318 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14318 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.98487 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16492

user answer per : 108
below is the redis data 16384 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16384 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522310
    [last_credit_update_time] => 1764522310
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.183 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8972

user answer per : 18
below is the redis data 8954 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8954 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263407'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.38858 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.67188 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16320

user answer per : 177
below is the redis data 16143 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16143 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.87973 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15335

user answer per : 108
below is the redis data 15227 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15227 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.70657 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8533

user answer per : 18
below is the redis data 8515 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8515 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263465'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.59739 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.01304 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14858

user answer per : 177
below is the redis data 14681 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14681 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.58027 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14620

user answer per : 108
below is the redis data 14512 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14512 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.73321 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8244

user answer per : 18
below is the redis data 8226 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8226 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263523'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.8909 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.2396 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16632

user answer per : 177
below is the redis data 16455 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16455 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.86043 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14224

user answer per : 108
below is the redis data 14116 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14116 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.70166 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7937

user answer per : 18
below is the redis data 7919 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7919 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263585'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.2645 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.48188 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16216

user answer per : 177
below is the redis data 16039 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16039 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.6424 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16304

user answer per : 108
below is the redis data 16196 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16196 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522546
    [last_credit_update_time] => 1764522546
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.05414 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8042

user answer per : 18
below is the redis data 8024 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8024 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263643'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.53205 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.65547 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15761

user answer per : 177
below is the redis data 15584 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15584 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.28708 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16659

user answer per : 108
below is the redis data 16551 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16551 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.5981 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8798

user answer per : 18
below is the redis data 8780 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8780 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.48251 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.40816 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16725

user answer per : 177
below is the redis data 16548 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16548 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.74186 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15259

user answer per : 108
below is the redis data 15151 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15151 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.23457 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8987

user answer per : 18
below is the redis data 8969 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8969 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263765'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.3456 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.71391 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15243

user answer per : 177
below is the redis data 15066 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15066 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.20671 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13864

user answer per : 108
below is the redis data 13756 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13756 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.42364 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8449

user answer per : 18
below is the redis data 8431 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8431 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263822'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.93664 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.58912 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14625

user answer per : 177
below is the redis data 14448 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14448 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.42695 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14536

user answer per : 108
below is the redis data 14428 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14428 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764522786
    [last_credit_update_time] => 1764522786
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.19722 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8085

user answer per : 18
below is the redis data 8067 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8067 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263885'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.46124 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.08302 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15446

user answer per : 177
below is the redis data 15269 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15269 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.18648 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14403

user answer per : 108
below is the redis data 14295 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14295 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.18494 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8081

user answer per : 18
below is the redis data 8063 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8063 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764263945'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.53291 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.47042 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16759

user answer per : 177
below is the redis data 16582 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16582 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.53729 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16796

user answer per : 108
below is the redis data 16688 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16688 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.77681 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8851

user answer per : 18
below is the redis data 8833 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8833 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264004'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.65673 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.87814 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16433

user answer per : 177
below is the redis data 16256 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16256 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.54072 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14598

user answer per : 108
below is the redis data 14490 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14490 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.46589 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8759

user answer per : 18
below is the redis data 8741 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8741 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264063'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.31254 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.5693 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15714

user answer per : 177
below is the redis data 15537 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15537 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.95796 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17028

user answer per : 108
below is the redis data 16920 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16920 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523025
    [last_credit_update_time] => 1764523025
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.26493 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8105

user answer per : 18
below is the redis data 8087 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8087 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264123'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.00859 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.65067 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16858

user answer per : 177
below is the redis data 16681 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16681 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.54465 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16250

user answer per : 108
below is the redis data 16142 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16142 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.82558 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7974

user answer per : 18
below is the redis data 7956 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7956 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264184'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.22512 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.84683 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14216

user answer per : 177
below is the redis data 14039 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14039 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.50721 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15680

user answer per : 108
below is the redis data 15572 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15572 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.97501 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8316

user answer per : 18
below is the redis data 8298 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8298 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.3436 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.00787 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13755

user answer per : 177
below is the redis data 13578 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13578 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.26139 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16645

user answer per : 108
below is the redis data 16537 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16537 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.8205 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9162

user answer per : 18
below is the redis data 9144 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9144 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.97371 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.32401 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16129

user answer per : 177
below is the redis data 15952 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15952 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.30432 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13918

user answer per : 108
below is the redis data 13810 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13810 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523272
    [last_credit_update_time] => 1764523272
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.06197 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7747

user answer per : 18
below is the redis data 7729 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7729 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264362'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.36387 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.42536 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16184

user answer per : 177
below is the redis data 16007 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16007 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.03364 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15419

user answer per : 108
below is the redis data 15311 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15311 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.26422 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8105

user answer per : 18
below is the redis data 8087 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8087 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264422'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.4868 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.88935 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14240

user answer per : 177
below is the redis data 14063 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14063 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.72303 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14698

user answer per : 108
below is the redis data 14590 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14590 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.00132 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7729

user answer per : 18
below is the redis data 7711 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7711 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.13843 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.89784 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14794

user answer per : 177
below is the redis data 14617 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14617 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.47333 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14011

user answer per : 108
below is the redis data 13903 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13903 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.97378 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8613

user answer per : 18
below is the redis data 8595 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8595 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264542'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.95724 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.37883 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15609

user answer per : 177
below is the redis data 15432 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15432 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.75066 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14164

user answer per : 108
below is the redis data 14056 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14056 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523504
    [last_credit_update_time] => 1764523504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.91421 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8595

user answer per : 18
below is the redis data 8577 UPDATE voice_compaign_detail_78569 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`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264604'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.34624 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.06511 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14336

user answer per : 177
below is the redis data 14159 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14159 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.03582 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14870

user answer per : 108
below is the redis data 14762 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14762 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.48055 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7872

user answer per : 18
below is the redis data 7854 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7854 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.47481 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.66208 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16315

user answer per : 177
below is the redis data 16138 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16138 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.46842 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14558

user answer per : 108
below is the redis data 14450 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14450 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.43674 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8453

user answer per : 18
below is the redis data 8435 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8435 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264722'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.77167 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.91418 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15903

user answer per : 177
below is the redis data 15726 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15726 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.38068 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14510

user answer per : 108
below is the redis data 14402 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14402 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.76821 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8849

user answer per : 18
below is the redis data 8831 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8831 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.34024 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.8988 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14245

user answer per : 177
below is the redis data 14068 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14068 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.85482 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15321

user answer per : 108
below is the redis data 15213 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15213 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523744
    [last_credit_update_time] => 1764523744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.57644 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7900

user answer per : 18
below is the redis data 7882 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7882 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.99179 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.40288 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14522

user answer per : 177
below is the redis data 14345 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14345 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.68293 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14676

user answer per : 108
below is the redis data 14568 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14568 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.45282 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9052

user answer per : 18
below is the redis data 9034 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9034 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.87258 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.47008 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14559

user answer per : 177
below is the redis data 14382 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14382 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.61845 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16291

user answer per : 108
below is the redis data 16183 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16183 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.4945 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7578

user answer per : 18
below is the redis data 7560 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7560 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764264962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.79235 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.37246 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16155

user answer per : 177
below is the redis data 15978 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15978 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.17705 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13848

user answer per : 108
below is the redis data 13740 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13740 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.07877 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8049

user answer per : 18
below is the redis data 8031 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8031 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.52817 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.41784 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13980

user answer per : 177
below is the redis data 13803 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13803 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.60154 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14632

user answer per : 108
below is the redis data 14524 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14524 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764523984
    [last_credit_update_time] => 1764523984
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.07895 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7752

user answer per : 18
below is the redis data 7734 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7734 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.08787 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524225
    [last_credit_update_time] => 1764524225
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.76892 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15823

user answer per : 177
below is the redis data 15646 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15646 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.91193 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17002

user answer per : 108
below is the redis data 16894 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16894 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.5316 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7590

user answer per : 18
below is the redis data 7572 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7572 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.69016 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524225
    [last_credit_update_time] => 1764524225
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.93801 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14266

user answer per : 177
below is the redis data 14089 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14089 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.58034 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14620

user answer per : 108
below is the redis data 14512 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14512 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.23383 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7501

user answer per : 18
below is the redis data 7483 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7483 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265201'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.53086 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524225
    [last_credit_update_time] => 1764524225
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.32712 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15030

user answer per : 177
below is the redis data 14853 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14853 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.30463 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14468

user answer per : 108
below is the redis data 14360 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14360 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.05749 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8340

user answer per : 18
below is the redis data 8322 UPDATE voice_compaign_detail_78569 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`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265262'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.56483 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524225
    [last_credit_update_time] => 1764524225
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.25523 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14441

user answer per : 177
below is the redis data 14264 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14264 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.93297 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14814

user answer per : 108
below is the redis data 14706 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14706 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524226
    [last_credit_update_time] => 1764524226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.54035 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7889

user answer per : 18
below is the redis data 7871 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7871 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265321'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.58561 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.35229 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16144

user answer per : 177
below is the redis data 15967 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15967 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.42367 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15084

user answer per : 108
below is the redis data 14976 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14976 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524464
    [last_credit_update_time] => 1764524464
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.40337 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8740

user answer per : 18
below is the redis data 8722 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8722 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265381'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.30582 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.97835 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16489

user answer per : 177
below is the redis data 16312 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16312 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.21077 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14417

user answer per : 108
below is the redis data 14309 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14309 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524464
    [last_credit_update_time] => 1764524464
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.856 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7983

user answer per : 18
below is the redis data 7965 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7965 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265441'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.81826 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.50753 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16230

user answer per : 177
below is the redis data 16053 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16053 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.13813 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16027

user answer per : 108
below is the redis data 15919 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15919 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524464
    [last_credit_update_time] => 1764524464
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.81864 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7675

user answer per : 18
below is the redis data 7657 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7657 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265501'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.44556 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.12982 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13822

user answer per : 177
below is the redis data 13645 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13645 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524463
    [last_credit_update_time] => 1764524463
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.17656 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14948

user answer per : 108
below is the redis data 14840 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14840 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524464
    [last_credit_update_time] => 1764524464
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.52447 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7885

user answer per : 18
below is the redis data 7867 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7867 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265562'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.02681 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.7774 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14728

user answer per : 177
below is the redis data 14551 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14551 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.25573 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15541

user answer per : 108
below is the redis data 15433 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15433 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.83529 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8869

user answer per : 18
below is the redis data 8851 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8851 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265621'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.0031 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.16954 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15494

user answer per : 177
below is the redis data 15317 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15317 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.59092 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15176

user answer per : 108
below is the redis data 15068 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15068 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.79086 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7964

user answer per : 18
below is the redis data 7946 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7946 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265681'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.51415 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.20338 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14412

user answer per : 177
below is the redis data 14235 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14235 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.04074 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14323

user answer per : 108
below is the redis data 14215 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14215 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.19075 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8677

user answer per : 18
below is the redis data 8659 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8659 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265742'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.00129 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.52295 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16238

user answer per : 177
below is the redis data 16061 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16061 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.89796 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16445

user answer per : 108
below is the redis data 16337 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16337 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524703
    [last_credit_update_time] => 1764524703
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.83236 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8868

user answer per : 18
below is the redis data 8850 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8850 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265801'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.09329 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.1139 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14913

user answer per : 177
below is the redis data 14736 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14736 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.60227 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16832

user answer per : 108
below is the redis data 16724 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16724 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.25477 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8993

user answer per : 18
below is the redis data 8975 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8975 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265862'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.71915 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.59733 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16829

user answer per : 177
below is the redis data 16652 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16652 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.12748 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15471

user answer per : 108
below is the redis data 15363 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15363 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.50371 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9067

user answer per : 18
below is the redis data 9049 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9049 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265922'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.18786 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.58421 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16272

user answer per : 177
below is the redis data 16095 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16095 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.73198 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15253

user answer per : 108
below is the redis data 15145 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15145 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.64103 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7622

user answer per : 18
below is the redis data 7604 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7604 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764265981'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.55199 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.15564 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13836

user answer per : 177
below is the redis data 13659 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13659 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.66583 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14667

user answer per : 108
below is the redis data 14559 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14559 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764524943
    [last_credit_update_time] => 1764524943
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.59061 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8796

user answer per : 18
below is the redis data 8778 UPDATE voice_compaign_detail_78569 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`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266042'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.49952 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.11232 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14912

user answer per : 177
below is the redis data 14735 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14735 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.85907 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14773

user answer per : 108
below is the redis data 14665 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14665 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.04391 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8634

user answer per : 18
below is the redis data 8616 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8616 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266101'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.28282 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.06503 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16536

user answer per : 177
below is the redis data 16359 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16359 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.27919 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15004

user answer per : 108
below is the redis data 14896 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14896 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.89381 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8589

user answer per : 18
below is the redis data 8571 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8571 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266162'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.88954 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.38807 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16714

user answer per : 177
below is the redis data 16537 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16537 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.43144 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16738

user answer per : 108
below is the redis data 16630 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16630 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.08286 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7753

user answer per : 18
below is the redis data 7735 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7735 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266222'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.41221 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.63765 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16301

user answer per : 177
below is the redis data 16124 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16124 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.8126 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14748

user answer per : 108
below is the redis data 14640 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14640 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525188
    [last_credit_update_time] => 1764525188
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.61648 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7912

user answer per : 18
below is the redis data 7894 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7894 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266281'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.00336 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.3249 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15029

user answer per : 177
below is the redis data 14852 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14852 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.6351 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14100

user answer per : 108
below is the redis data 13992 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13992 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.32285 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8419

user answer per : 18
below is the redis data 8401 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8401 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266341'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.92463 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.19765 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16609

user answer per : 177
below is the redis data 16432 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16432 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.94509 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17021

user answer per : 108
below is the redis data 16913 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16913 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.23143 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8689

user answer per : 18
below is the redis data 8671 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8671 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266402'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.49168 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.55068 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14603

user answer per : 177
below is the redis data 14426 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14426 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.39739 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14519

user answer per : 108
below is the redis data 14411 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14411 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.27284 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7810

user answer per : 18
below is the redis data 7792 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7792 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266461'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.02018 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.87768 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14233

user answer per : 177
below is the redis data 14056 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14056 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.89267 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16992

user answer per : 108
below is the redis data 16884 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16884 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525425
    [last_credit_update_time] => 1764525425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.61217 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8505

user answer per : 18
below is the redis data 8487 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8487 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266522'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.20523 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.96434 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15931

user answer per : 177
below is the redis data 15754 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15754 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.56867 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15164

user answer per : 108
below is the redis data 15056 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15056 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.28109 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8407

user answer per : 18
below is the redis data 8389 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8389 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266581'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.80361 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.77346 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15826

user answer per : 177
below is the redis data 15649 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15649 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.42471 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15634

user answer per : 108
below is the redis data 15526 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15526 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.80189 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9156

user answer per : 18
below is the redis data 9138 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9138 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266641'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.00503 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.15861 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16038

user answer per : 177
below is the redis data 15861 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15861 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.76277 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16370

user answer per : 108
below is the redis data 16262 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16262 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.91046 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7999

user answer per : 18
below is the redis data 7981 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7981 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266702'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.03139 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.26415 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16096

user answer per : 177
below is the redis data 15919 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15919 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.81855 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14201

user answer per : 108
below is the redis data 14093 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14093 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525663
    [last_credit_update_time] => 1764525663
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.04691 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7445

user answer per : 18
below is the redis data 7427 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7427 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266761'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.56065 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525903
    [last_credit_update_time] => 1764525903
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.37136 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15605

user answer per : 177
below is the redis data 15428 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15428 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.1005 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 13806

user answer per : 108
below is the redis data 13698 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13698 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.62003 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8508

user answer per : 18
below is the redis data 8490 UPDATE voice_compaign_detail_78569 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`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266821'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.63214 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525903
    [last_credit_update_time] => 1764525903
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.65919 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16863

user answer per : 177
below is the redis data 16686 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16686 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.11744 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15465

user answer per : 108
below is the redis data 15357 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15357 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.03471 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8334

user answer per : 18
below is the redis data 8316 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8316 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266882'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.56579 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525903
    [last_credit_update_time] => 1764525903
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.63053 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14647

user answer per : 177
below is the redis data 14470 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14470 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.44074 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14543

user answer per : 108
below is the redis data 14435 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14435 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.00203 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8027

user answer per : 18
below is the redis data 8009 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8009 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764266945'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.3491 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525903
    [last_credit_update_time] => 1764525903
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.54447 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15700

user answer per : 177
below is the redis data 15523 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15523 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.6993 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16335

user answer per : 108
below is the redis data 16227 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16227 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764525904
    [last_credit_update_time] => 1764525904
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.96118 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7717

user answer per : 18
below is the redis data 7699 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7699 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267001'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.47596 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.47807 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14563

user answer per : 177
below is the redis data 14386 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14386 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.78194 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16381

user answer per : 108
below is the redis data 16273 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16273 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.31725 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8418

user answer per : 18
below is the redis data 8400 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8400 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267062'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.33703 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.6352 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16850

user answer per : 177
below is the redis data 16673 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16673 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.04345 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14875

user answer per : 108
below is the redis data 14767 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14767 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.6244 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9103

user answer per : 18
below is the redis data 9085 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9085 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267121'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.20188 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.32799 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16131

user answer per : 177
below is the redis data 15954 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15954 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.91198 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15352

user answer per : 108
below is the redis data 15244 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15244 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.29987 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8710

user answer per : 18
below is the redis data 8692 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8692 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267181'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.93883 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.79333 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16387

user answer per : 177
below is the redis data 16210 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16210 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.43679 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15091

user answer per : 108
below is the redis data 14983 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14983 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526145
    [last_credit_update_time] => 1764526145
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.05394 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7745

user answer per : 18
below is the redis data 7727 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7727 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267242'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.86139 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.22963 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14427

user answer per : 177
below is the redis data 14250 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14250 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.68556 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14128

user answer per : 108
below is the redis data 14020 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14020 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.73825 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8543

user answer per : 18
below is the redis data 8525 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8525 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267302'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.89127 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.5641 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15711

user answer per : 177
below is the redis data 15534 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15534 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.4184 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15081

user answer per : 108
below is the redis data 14973 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14973 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 29.39777 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8739

user answer per : 18
below is the redis data 8721 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8721 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267361'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.29763 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.84054 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15313

user answer per : 177
below is the redis data 15136 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15136 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.78422 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15282

user answer per : 108
below is the redis data 15174 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15174 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.05819 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7449

user answer per : 18
below is the redis data 7431 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7431 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267422'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.8661 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.467 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15107

user answer per : 177
below is the redis data 14930 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14930 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 25.51028 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14031

user answer per : 108
below is the redis data 13923 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13923 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526385
    [last_credit_update_time] => 1764526385
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 27.98658 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8319

user answer per : 18
below is the redis data 8301 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8301 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267481'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 28.16022 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 25.08545 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13797

user answer per : 177
below is the redis data 13620 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13620 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.02678 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14315

user answer per : 108
below is the redis data 14207 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14207 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.82958 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7975

user answer per : 18
below is the redis data 7957 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7957 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267541'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.14913 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.65694 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15212

user answer per : 177
below is the redis data 15035 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15035 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 26.45701 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14552

user answer per : 108
below is the redis data 14444 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14444 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.62755 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7618

user answer per : 18
below is the redis data 7600 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7600 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267602'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 26.68545 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.6051 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15733

user answer per : 177
below is the redis data 15556 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15556 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.52356 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16239

user answer per : 108
below is the redis data 16131 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16131 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.22297 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8984

user answer per : 18
below is the redis data 8966 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8966 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267662'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.32139 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 27.56619 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15162

user answer per : 177
below is the redis data 14985 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14985 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.88798 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15889

user answer per : 108
below is the redis data 15781 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15781 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764526624
    [last_credit_update_time] => 1764526624
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.90736 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8593

user answer per : 18
below is the redis data 8575 UPDATE voice_compaign_detail_78569 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`='18', `user_busy_sms`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267721'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.22233 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.10243 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14357

user answer per : 177
below is the redis data 14180 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14180 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.15893 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14938

user answer per : 108
below is the redis data 14830 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14830 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.01385 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8327

user answer per : 18
below is the redis data 8309 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8309 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267782'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 29.91886 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 28.9907 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15945

user answer per : 177
below is the redis data 15768 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15768 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.91761 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15355

user answer per : 108
below is the redis data 15247 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15247 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.57506 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7602

user answer per : 18
below is the redis data 7584 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7584 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267841'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.97293 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.14942 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16583

user answer per : 177
below is the redis data 16406 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16406 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 28.56338 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 15711

user answer per : 108
below is the redis data 15603 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15603 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 30.50247 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 9067

user answer per : 18
below is the redis data 9049 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9049 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267901'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.47748 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.81819 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14751

user answer per : 177
below is the redis data 14574 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14574 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.66041 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16314

user answer per : 108
below is the redis data 16206 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16206 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764526874
    [last_credit_update_time] => 1764526874
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.98211 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8615

user answer per : 18
below is the redis data 8597 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8597 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764267962'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 27.45453 
ans sms 229
dnd sms 185

require answer perrequire answer per : 13

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.9607 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16479

user answer per : 177
below is the redis data 16302 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16302 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.15351 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16585

user answer per : 108
below is the redis data 16477 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16477 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 28.47732 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8465

user answer per : 18
below is the redis data 8447 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8447 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764268022'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.64495 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 29.72782 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16351

user answer per : 177
below is the redis data 16174 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16174 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 29.89557 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 16443

user answer per : 108
below is the redis data 16335 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16335 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.11653 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7763

user answer per : 18
below is the redis data 7745 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7745 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764268081'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 30.57386 
ans sms 229
dnd sms 185

require answer perrequire answer per : 14

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 26.12197 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14368

user answer per : 177
below is the redis data 14191 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14191 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 27.1568 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 14937

user answer per : 108
below is the redis data 14829 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14829 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 26.97587 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 8019

user answer per : 18
below is the redis data 8001 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8001 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 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>'1764268142'  
Array
(
    [0] => 78336
    [compaign_id] => 78336
    [1] => u29673
    [user_id] => u29673
    [2] => 65982,
    [group_ids] => 65982,
    [3] => 
    [sender_id] => 
    [4] => prashant 1.mp3
    [filename] => prashant 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764407882
    [start_date] => 1764407882
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 12
    [busy_sms] => 12
    [15] => 20
    [congestion_sms] => 20
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 185
    [dnd_sms] => 185
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 12
    [user_busy_sms] => 12
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 12
    [user_failed_sms] => 12
    [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] => 185
    [user_dnd_sms] => 185
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29673
    [created_by] => u29673
    [38] => 0
    [isScheduled] => 0
    [39] => 1764407882
    [create_date] => 1764407882
    [40] => 0
    [by_api] => 0
    [41] => 1
    [isRefund] => 1
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [action_time] => {"api_allot_time":1764408126,"compaign_read_start_time":1764408128,"compaign_read_complete_time":1764408147,"compaign_send_start_time":1764408422,"compaign_send_complete_time":1764408430}
    [50] => 0
    [compaign_file] => 0
    [51] => u29673_78336_29112025_025202PM_240
    [common_name] => u29673_78336_29112025_025202PM_240
    [52] => 1764236793_u29673_voice.wav
    [voice_file] => 1764236793_u29673_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_65982
    [temp_group_table] => contacts_temp_group_65982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1764460021
    [last_credit_update_time] => 1764460021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1880
    [user_voice_plan_id] => 1880
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.1
    [pulse_rate] => 0.1
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr69,u29673
    [uphierarchy] => admin,sr69,u29673
    [113] => 
    [extra_params_json] => 
)


Compaign : 78336
\compaign_type : Rans per 25.29444 
ans sms 229
dnd sms 185

require answer perrequire answer per : 12

user answer per : 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`='14', `user_busy_sms`='12', `user_congestion_sms`='6', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='185' WHERE `compaign_id`=78336 LIMIT 1 


Time Diff : 10.044

Array
(
    [0] => 78567
    [compaign_id] => 78567
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 20467
    [busy_sms] => 20467
    [15] => 26
    [congestion_sms] => 26
    [16] => 32110
    [failed_sms] => 32110
    [17] => 0
    [hangup_sms] => 0
    [18] => 2246
    [no_answer_sms] => 2246
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 20467
    [user_busy_sms] => 20467
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32110
    [user_failed_sms] => 32110
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2246
    [user_no_answer_sms] => 2246
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78567
\compaign_type : ATans per 30.75584 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16916

user answer per : 177
below is the redis data 16739 UPDATE voice_compaign_detail_78567 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16739 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='20467', `user_congestion_sms`='0', `user_failed_sms`='32110', `user_hangup_sms`='0', `user_no_answer_sms`='2246', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78567 LIMIT 1 


Time Diff : 0.294

Array
(
    [0] => 78568
    [compaign_id] => 78568
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 55001
    [total_sms] => 55001
    [11] => 55001
    [sent_sms] => 55001
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 20624
    [busy_sms] => 20624
    [15] => 23
    [congestion_sms] => 23
    [16] => 32130
    [failed_sms] => 32130
    [17] => 0
    [hangup_sms] => 0
    [18] => 2139
    [no_answer_sms] => 2139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 20624
    [user_busy_sms] => 20624
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32130
    [user_failed_sms] => 32130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2139
    [user_no_answer_sms] => 2139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78568
\compaign_type : ATans per 30.9554 
ans sms 55001
dnd sms 0

require answer perrequire answer per : 17026

user answer per : 108
below is the redis data 16918 UPDATE voice_compaign_detail_78568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16918 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='20624', `user_congestion_sms`='0', `user_failed_sms`='32130', `user_hangup_sms`='0', `user_no_answer_sms`='2139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78568 LIMIT 1 


Time Diff : 0.305

Array
(
    [0] => 78569
    [compaign_id] => 78569
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764473407
    [start_date] => 1764473407
    [9] => 0
    [end_date] => 0
    [10] => 29724
    [total_sms] => 29724
    [11] => 29724
    [sent_sms] => 29724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 3251
    [busy_sms] => 3251
    [15] => 0
    [congestion_sms] => 0
    [16] => 26144
    [failed_sms] => 26144
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 3251
    [user_busy_sms] => 3251
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26144
    [user_failed_sms] => 26144
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1764527106
    [last_credit_update_time] => 1764527106
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 78569
\compaign_type : ATans per 25.72421 
ans sms 29724
dnd sms 0

require answer perrequire answer per : 7647

user answer per : 18
below is the redis data 7629 UPDATE voice_compaign_detail_78569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7629 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3251', `user_congestion_sms`='0', `user_failed_sms`='26144', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=78569 LIMIT 1 


Time Diff : 0.14